Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website HTML First Use HTML Elements

Michelle L
Michelle L
601 Points

What am I doing wrong? Meta charset

The grader is telling me this is wrong.

<!DOCTYPE html> <html> <head> <meta charset = "UTF-8"> </head> <body></body> </html>

4 Answers

Is there any other code before the code that you copied in your question?

Michelle L
Michelle L
601 Points

I figured out what was wrong. It should have been <meta charset="utf-8"> (note the lack of spacing on both sides of the equal sign), which is slightly annoying. I didn't realize spacing would matter...it's not python...

Michelle L
Michelle L
601 Points

I figured out what was wrong. It should have been <meta charset="utf-8"> (note the lack of spacing on both sides of the equal sign), which is slightly annoying. I didn't realize spacing would matter...it's not python...

Michelle L
Michelle L
601 Points

Yes, for some reason when I copied/pasted it, it didn't show all of it. Disregard.