HTML - HTML element (Document root)

About

The html element represents the root of a a html page.

It would become also the root (top node) in the in-memory tree representation (DOM document) of this html page.

Styling

This is also the node where all default sizing related styling are set such as:

normalize stylsheets applies their rule on it.

Why ? Because of CSS inheritance and because this is the top node, all descendant nodes inherit also this default values.


Powered by ComboStrap