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 trialVincent 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,801 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,610 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>