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

Trouble registering the header tag?

I am supposed to add a header, section and footer element, but I get the error: Bummer! Don't forget to add a header tag...am I missing something here? Thanks in advance!

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title Title>
  </head>
  <body>
    <header>
      <h1>Header</h1>
    </header>
    <section>
      <p>Section</p>
    </section>
    <footer>
      <p>Footer</p>
    </footer>
  </body>
</html>

2 Answers

Stone Preston
Stone Preston
42,016 Points

your title tag is not closed properly. you have

<title Title>

that could be causing some of the issues. try

<title>Title</title>

and see if it works then.

I just tried your code, but fixed the title tag and it worked fine so it looks like thats whats causing the problem.

Thanks! It worked!