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

I'm doing the charset correctly and it's saying it is wrong?

It says to write the <meta charset"utf-8"> and I'm writing it correctly but it's saying I'm wrong. I don't want this to effect my points

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

2 Answers

andren
andren
28,558 Points

You are missing an = sign between charset and "utf-8". Like this:

<meta charset="utf-8">

In programming even minor typos like this is enough to make your code invalid. And the code checker is correct in marking it as wrong.

Craig Watson
Craig Watson
27,930 Points

Hi Jacob,

I like to look for online references at times if there is something I am not quite getting.

Have a look at this on the charset attribute

Hope this helps you out :)

Craig