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

Vidhi Lalchand
Vidhi Lalchand
2,895 Points

Setting charset attribute for the meta tag

Hi, I am doing the challenge and it doesn't accept my response for the correct code where I set the charset in the following way :

<meta charset = "utf-8">

2 Answers

Hello Vidhi, your code so far should look like this.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
  </head>
  <body>
    <header>
    </header>
  </body>
</html>
Vidhi Lalchand
Vidhi Lalchand
2,895 Points

Thanks v much Dustin, I don't know what I was doing wrong.