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 trialPhil Hemmings
3,343 PointsAdding the header and body tags
Do you know why this is incorrect? It is telling me "don't forget the header."
<!DOCTYPE html> <html> <head></head> <body></body </html>
4 Answers
Aaron Graham
18,033 PointsThe header is a separate tag. Judging by the title of your post, I get the feeling your code should look something like this:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<header>
</header>
</body>
</html>
J Scott Erickson
11,883 PointsI assume you need: <html> <head></head> </html>
<!DOCTYPE html> is just the doctype declaration
J Scott Erickson
11,883 Points<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
```
Phil Hemmings
3,343 PointsGot it! Thanks guys!
J Scott Erickson
11,883 PointsJ Scott Erickson
11,883 PointsThis is probably more correct than mine.