Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website HTML First Use HTML Elements

Michael Metzner
Michael Metzner
324 Points

I added a character set attribute to my code and its still teling me its wrong

the challenge is telling me to add a character set attribute to my html but as far as I can tell everything looks right. I rechecked everything with my saved document in workshop.

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset+="utf-8">
    <title>Mike Metzner | Designer</title>
  </head>
  <body>
    <header></header>
    <section></section>
    <footer></footer>
  </body>
</html>
Demian Martinez
Demian Martinez
2,985 Points

It looks like you accidentally added a "+" symbol when defining your charset This is how your code should actually look

<meta charset="utf-8">

1 Answer

Hi MIchael,

You have an extra + in your code.

Try changing:

    <meta charset+="utf-8">

to:

    <meta charset="utf-8">

-Rich