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

The quiz asked me to set the character set for the page. It typed this: <meta charset= "utf-8"> but it's still wrong

I can't get past this quiz. I am sure that this is how to set the character set.

index.html
<!DOCTYPE html>
<html>
  <head> 
    <meta charset = "utf-8">
  </head>

  <body>

  </body>


</html>

2 Answers

Hi Don-Alex,

it should be the spaces that you have before and after the "=" sign.

I think you should pass if you do not use the spaces, but I am only 99% sure.

Let me know if it's not the spaces!

Happy coding, Nils

PS: You can upvote my post and/or mark as "best answer" (at the bottom of my post) if it helped you. :-)

It worked Thank You. Why is HTML so anal about spaces?

I can't tell you why, I just know that's how it is. ;-)

But you get used to it quite quickly in HTML.

JavaScript ist pretty free concerning spaces, if you would like to mess around with it.