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

CSS CSS Basics (2014) Understanding Values and Units Rem Units

How do you know what the root element is?

Where is it located? the main root element?

1 Answer

Steven Parker
Steven Parker
231,007 Points

The 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.

How 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
Steven Parker
231,007 Points

The default size is determined by the browser, but 16px is standard in common ones.