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

<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?