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

Set the character set for a page

I'm really not sure what I'm doing wrong. I've set the character set as <meta charset = "utf-8"> embedded within the <head></head>, yet it's still producing the message of set the attributes.

the meta charset = utf-8 is the attribute, so not sure. Help me Obi-Wan your my only hope

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset = "utf-8">
    <title> Bill Herold | Designer </title>
  </head>
  <body>
  </body>
</html>

1 Answer

Sam Roberton
Sam Roberton
7,225 Points

Looks ok, just try getting rid of the spaces either side of the = sign and you should be good.

<meta charset="UTF-8">