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

<html> is the HTML Document route but says its incorrect in the challenge?

<html> is the HTML Document route but says its incorrect in the challenge?

index.html
<!DOCTYPE html>
  <html>

3 Answers

You need the closing

</html>

tag.

Thanks Tobiaws but I have that at the bottom of my workspace already

Which is your current Task number? The code you posted is not rly helping (and is wrong since you have no closing html element) DOCTYPE html is not an opening html element. Dont forget to close tags that need closing tags.

This is the code for the full challange...

<!DOCTYPE html>

<html>
  <head>
    <meta charset="UTF-8">
    <title></title>
  </head>
  <body>
    <header></header>
    <section></section>
    <footer></footer>
  </body>
</html>
Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Tobias is correct. You're missing the closing tag. The entire code should be:

<!DOCTYPE html>
<html>
</html>

Thanks I just made it past that one. Now stuck on the next challenge where first they pass me on task 2 but when i answer task 3 they say that task 2 is no longer passing. not having a good day :-(\ <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a><li> <li><a href="about.html">About</a><li> <li><a href="contact.html">Contact</a></li>
</ul> <nav/>

What is the name of that challange? Or can you link it?