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

Jinwoo Chung
Jinwoo Chung
2,611 Points

I have "<meta charset = "utf-8">" within my header yet it's giving me errors to add in charset in the meta?

html

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

2 Answers

This code passed (the entire quiz). I can only guess that it is a white space issue.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <header>
    </header>
    <section>
    </section>
    <footer>
    </footer>
  </body>
</html>

Hi Jinwoo,

It's as Ted has mentioned, you have white space between charset and the = sign. Remove the white space and it should work fine.

Regards,