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.

HTML Introduction to HTML and CSS Adding a New Web Page Test: Write and Style an Element

Mitch Mahan
Mitch Mahan
1,368 Points

I have it set-up how it's asking for.... but yet it still tells me that i don't have a <body></body> tag following.

Currently stuck, I have the <body> tags after <head> tags as it's asking yet it claims I do not.... any feedback would be greatly appreciated!

index.html
<!doctype html> 
<html>
    <head>
      <body>   


    </head> 
      </body> 




</html> 

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! You're close, but not quite there. You are supposed to start the body after the head ends. Currently, you start the head, then start the body, then close the head, then close the body.

<head> <!-- start head -->
</head> <!-- end head -->
<body> <!-- start body -->
</body> <!-- end body -->

Hope this helps! :sparkles:

Mitch Mahan
Mitch Mahan
1,368 Points

Thank you for taking time to respond! After seeing your response I feel really dumb about having a brain fart on something like this. Thanks!