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

Defenitely gone wrong somewhere , it isn't a glitch isn't in the system.

says add a header element , then BUMMER! And then advises me to put it in between the body.(which I have ) still don't accept , I then put the section in the body aswell , I'm clutching at straws.....

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

  <body>
    <h1></h1>
  <section></section>
  </body>

  <footer></footer>


</html>

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Shane Oliver is correct. You've put in a <h1> element instead. The <h1>, <h2> etc elements stand for "headline". And don't worry, we all got these confused at some point! HTML has 3 similar sounding tags headline <h1>, header <header> , and head <head>. And they are all very different :smiley:

Also, you ended your body before the beginning of the footer tag. It might sound a little counter-intuitive at first, but the footer should also be inside the body of the document. But Shane's code should get you to the next step. You're doing great! Hang in there :sparkles:

Cheers!

Shane Oliver
Shane Oliver
19,950 Points

You have a <head> element but no <header> element. They are different page elements :)

<!DOCTYPE html>
<html>
<head>
    <title>Basic HTML Skeleton</title>
</head>
<body>
    <header></header>
    <section></section>
    <footer></footer>
</body>
</html>