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

Laura Yonkers
seal-mask
.a{fill-rule:evenodd;}techdegree
Laura Yonkers
Front End Web Development Techdegree Student 180 Points

How do I Set the character set for the page

I am doing a quiz the following is my code but I do not know how to set the character set for the page I thought it was <meta charset ="utf-8"> but I am not getting it right. <!DOCTYPE html> <html> <head> <meta charset ="utf-8"> <title>Laura Yonkers | Professional Engineer and Designer</title> </head> <body> <header> <h1>Laura Yonkers</h1> <h2>Professional Engineer and Designer</h2> </header> <section> <p> Gallery will go here.</p> </section> <footer> <p> ©2016 Laura Yonkers. </p> </footer> </body> </html>

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset ="utf-8">
    <title>Laura Yonkers | Professional Engineer and Designer</title>
  </head>
  <body>
    <header>
      <h1>Laura Yonkers</h1>
      <h2>Professional Engineer and Designer</h2>
      </header>
    <section>
      <p> Gallery will go here.</p>
        </section>
    <footer>
      <p>
      &copy;2016 Laura Yonkers.
      </p>
    </footer>
   </body>
</html>

3 Answers

You have an extra space before the equal sign. Try getting rid of that :)

Autumn Silvers
Autumn Silvers
2,995 Points

Alex is correct

<meta charset="utf-8">