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 trialMarko Paasila
6,313 PointsHTML challenge task 6, I don't know what "header tag" I am missing
I can't pass the task; "Don't forget a header tag". I have both <header> and <h1> tags...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title HTML challenge task 6>
</head>
<body>
<header>
<h1>Some site</h1>
<h2>About anything</h2>
</header>
<section>
<p>Something</p>
</section>
<footer>
<p>Footer element yea</p>
</footer>
</body>
</html>
2 Answers
Shane Robinson
7,324 PointsHello Marko, the problem seems to stem from a mistake with your title element. You made title as a self-closing tag, but it is not.
You wrote:
<title HTML challenge task 6>
It should be:
<title>HTML challenge task 6</title>
Jeff Lemay
14,268 PointsThe < title > tag in your < head > is not self-closing so you have a syntax error.
<title>Here is my title</title>
Marko Paasila
6,313 PointsThanks, it worked!
Marko Paasila
6,313 PointsMarko Paasila
6,313 PointsThank you, it worked!