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

mendi

where should I include the body tag?

index.html
<!DOCTYPE html> 
<html>
  <head>
    <meta charset=”utf-8”>
    <title>Mendi Njuguna | Logo Designer</title> 
  </head>
  <body>
    <header>
      <h1>Mendi Njuguna</h1>
      <h2>Logo Designer</h2>
    </header>
    <section>
      <p>Gallery will go here.</p>
    </section>
    <footer>
      <p>&copy; 2014 Mendi Njuguna.</p>
    </footer>
    <html>
      <body>
        </html>

1 Answer

Alexander Smith
Alexander Smith
2,769 Points

You already have it in the correct spot. Your issues are the extra <html> tag after the closing footer tag. Then the body tag below that needs to be a closing one(</body>). After that your code should work but I would suggest getting the opening and closing tags to line up to make your html easier to read (becomes huge once you get into full sites).