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 trialKudakwashe L Maluwa
9,271 PointsA 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>
<html>
<head>
<meta charset="uts8-">
<title>Kuda Maluwa | designer</title>
</head>
<body>
<h1>Kuda Maluwa</h1>
</body>
</html>
3 Answers
Steven Parker
231,198 PointsYou 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
Treehouse Moderator 145,860 PointsIn 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. :)
NiKole Maxwell
11,083 PointsHead vs *Header vs "heading" *
<html>
<head> //Head comes before the body
<title> Page Title shown on the tab goes here </title>
</head>
<body>
<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)
<nav>
<ul>
<li> Home </li>
<li> About </li>
</ul>
</nav>
</header>
<main>
<section>
</section>
</main>
<footer>Sponsored by Hider.com</footer>
</body>
For more info: