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

the question is to add a title element i added <title></title> and it says i'm wrong

i added a <h1> element as well but it says i'm wrong

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8'>
    <title>DOT</title>
  </head>
  <body>
    <h1>DOT</h1>
  </body>
</html>

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Fabian,

You have it all correct, except for a small typo.

For the charset, you have opening double quotes for the utf-8 but a closing single quote. Just change that to match and all's good. :)

Keep Coding! :dizzy:

I think the problem may be with your charset attribute in your meta tag. You have used a double quote to open the attribute but a single quote to close it. Try making the closing quote double.