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

Where do I add a header tag?

Where do I add a header tag?

index.html
<!DOCTYPE html>
<html>
  <head>
     <meta charset="utf-8">
     <title>Mike McCollum | 
       </head>
    <body>
       <header>
         <h2>Rookie</h2>
       </header>

       <section></section>
       <footer></footer>
  </body> 

</html>
Oliver Sewell
Oliver Sewell
16,425 Points

your header tag is in the correct position well done the only reason its not working is because you forgot to add the closing </title> tag

2 Answers

The header tag should be inside body tag.

You missed the closing title tag . Can you add it. <html> <head> <meta charset="utf-8"> <title>Mike McCollum | </title> </head>

Jonathan Romine
Jonathan Romine
9,344 Points

remove the closing tag title from the bottom and add it back where the title ends: <title>Mike McCollum | Close the tag<title>