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 trialAaron Bailey
Courses Plus Student 2,915 PointsHow do you know what the root element is?
Where is it located? the main root element?
1 Answer
Steven Parker
231,248 PointsThe root element is the one created with the tag name "html". It contains the "head" and "body" sections, which in turn contain all other page elements.
Aaron Bailey
Courses Plus Student 2,915 PointsAaron Bailey
Courses Plus Student 2,915 PointsHow do you know what size it is to reference it to the size of text your looking to create? Is it automatically assigned to 16px?
Steven Parker
231,248 PointsSteven Parker
231,248 PointsThe default size is determined by the browser, but 16px is standard in common ones.