Cascading Order

Cascading Order

All the styles in a page will "cascade" into a new "virtual" style sheet by the rules, where number one has the highest priority.

So, an inline style has the highest priority, and will override external and internal styles and browser defaults.

1. Inline style (inside an HTML element).
2. External and internal style sheets (in the head section).
3. Browser default.

Related concepts

Cascading Order

Cascading Order — Structure map

Clickable & Draggable!

Cascading Order — Related pages: