Order of precedence
Rule
The styles at the lowest level in the cascade will take precedence in the cascade.
- External style sheets are at the top of the cascade.
- Document levels styles (in the head of our document) are at the middle of the cascade.
- Inline styles, class attributes, and id attributes (in the tags in the body our document) are at the foot of the cascade.