Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Vincent Pasquarelli
1,149 PointsAdd the head and body elements to the page.
Add the head and body elements to the page.
<!DOCTYPE html>
<html>
<head>
<body>
</body>
</head>
</html>
3 Answers

Shawn Denham
Python Development Techdegree Student 17,789 PointsNot sure what your question is, but your head and body tags are incorrect :) Body and head are not nested.

Jason Anello
Courses Plus Student 94,596 Pointschanged from comment to answer
Vincent,
You have your body tag nested inside the head tag as Shawn mentions. You should open then close the head tag. Then open and close the body tag.

Matthew Potter
8,718 Points<!DOCTYPE html> <html> <head> <meta> <link> <title> </head> <body> </body> </html>

Jeremy Canela
Full Stack JavaScript Techdegree Graduate 30,766 PointsYou have the body
tag nested inside the head
tag. The body
tag should be outside. Try this:
<!DOCTYPE html>
<html>
<head>
/* Stuff here */
</head>
<body>
/* Stuff here */
</body>
</html>
Hope it works :)!
Matthew Potter
8,718 PointsMatthew Potter
8,718 Points<!DOCTYPE html> <html> <head> <meta> <link> <title> </head> <body> </body> </html>