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

Kudakwashe L Maluwa
Kudakwashe L Maluwa
9,271 Points

A header element needs to appear between the <body> and </body> tags.

A header element needs to appear between the <body> and </body> tags.

<!DOCTYPE html>
      <meta charset="uts8-">
      <title>Kuda Maluwa | designer</title>  
      <h1>Kuda Maluwa</h1>  

3 Answers

Steven Parker
Steven Parker
229,981 Points

You haven't performed the last task yet.

The instructions for task 6 say, "Add a header element, section element, and footer element."

I see you have created an h1 element, which are often referred to as "headers" when discussing the typography of the page, but that's not the same thing as an actual <header> structural element. And you still have the other two elements to create with it.

Jason Anders
Jason Anders
Treehouse Moderator 145,858 Points

In addition to Steven's correct reply, your charset is not correct (which apparently the code checker is letting pass?) Tagging: Nick Pettit for a fix.

It should be UTF-8 not uts8- ... just an FYI. :)


Head vs *Header vs "heading" *

  <head>  //Head comes before the body
  <title> Page Title shown on the tab goes here </title>
       <header>  //Header is within the body can contain your main title & navigation
            <h1> My Heading often seen as the more visible page title</h1>  //heading (also see h2 --> h6)
                    <li> Home </li>
                    <li> About </li>
       <footer>Sponsored by Hider.com</footer>

For more info:

W3 Schools Head

W3 Schools Header

W3 Schools Headings

W3 Schools h1 - h6 Practice