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

It wants the root of the document entered.

I entered <html> and it won't accept. What is wrong here? I have gone back in the video and the listened to Nick speak and read the documentation, and it says the page root is <html>.

Thank you Stone. I had not seen the closing tag in that whole video - but since all others, except for <!DOCTYPE html> have a closing tag it makes since. I will go back and work on that. Thanks again.

1 Answer

Stone Preston
Stone Preston
42,016 Points

you are correct that the root is the html tag, however you have to be sure and close the opening html tag like so.


if you only enter <html> it wont accept it as correct