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 trialAna Sazi
382 PointsWhen I answer 'Create the HTML element that will serve as the document root' why won't it accept <!DOCTYPE html> ?
When I answer 'Create the HTML element that will serve as the document root' why won't it accept <!DOCTYPE html> ?
<!DOCTYPE html>
<html>
4 Answers
Damien Watson
27,419 PointsHi Ana,
The answer for the first question is '<!DOCTYPE html>', you almost have the answer for the second, but missing the closing tag.
The tag for document root is 'html':
<!DOCTYPE html>
<html>
</html>
Ana Sazi
382 PointsI'll try it. Thanks, Damien!
Getrude Ndhlovu
5,053 Points<!DOCTYPE html> <html>
MUZ140860 Rutendo Shereni
6,628 PointsI think the document root is <html></html>