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 trialLindy Giusta
246 PointsI am unsure of how to create an HTML document root. Is that a metatag?
I am getting a little confused with the new terms. What is an HTML document root?
<!DOCTYPE html>
<html>
2 Answers
Seth Kroger
56,413 PointsThe document root refers to the <html>...</html> tag. You're just missing the closing tag.
Mark Truitt
17,230 PointsHi Lindy,
This is referring to defining it has html with tags like below. This is to just state what the page "is" and always comes after the DOCTYPE.
So in this case it would be....
<!DOCTYPE html>
<html>
</html>
This is telling the browser that it is a HTML document.
Mark
Lindy Giusta
246 PointsThank you!