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 trial

HTML Introduction to HTML and CSS (2016) 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!