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 Treehouse Club: HTML Publish a Story HTML Structure

Damian Davis
Damian Davis
227 Points

Bummer: You need to place <head> and <body> tags between the <html></html> tags.

Bummer: You need to place <head> and <body> tags between the <html></html> tags.

index.html
<!DOCTYPE html>
</html><!/head><head><!/body><body><html>

2 Answers

Steven Parker
Steven Parker
210,933 Points

You've got the right idea, but no tag other than DOCTYPE has an exclamation point in it.

Also, for each element, the start tag is the one without the slash and must come first. With a little editing and re-ordering you'll pass the challenge.

Christine Hendrickson
seal-mask
.a{fill-rule:evenodd;}techdegree
Christine Hendrickson
Front End Web Development Techdegree Student 5,410 Points

In addition to Steven's response (which is spot-on), you may also want to get into the habit of line breaking and indenting your code. Not only will this help other people looking at your code, it helps to see it clearly and spot things you've missed.

Happy coding!