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 How to Make a Website HTML First Use HTML Elements

David White
PLUS
David White
Courses Plus Student 2,248 Points

define the HTML tag for Document root?

This is within question 2 of 9 in the 'how to make a website' lesson. Just can't get this one. I've reviewed the lesson transcripts, and done some searching online for clues. Quizbot says "Bummer! Make sure you define the HTML tag for Document root". Can anyone make sense of this please?

2 Answers

After your <DOCTYPE html> you add your <html></html> tags. And inside those you add your head and body tags.

This thread saved me a lot of time. Thanks!!!

Saved me time too!

David White
PLUS
David White
Courses Plus Student 2,248 Points

FUNNY, I THOUGHT I TRIED THAT. IT WORKED THIS TIME, SO PERHAPS I HAD INDENTED IT PREVIOUSLY. DON'T KNOW IF THAT WOULD BE A FACTOR, THOUGH. THANKS!!