The Cascading Order

In this lesson we will learn the details of the cascading order. Let's begin!

We'll cover the following...

Now, you have a basic understanding of the syntax and semantics of style sheets.


When your page is displayed, all style rules that match an HTML tag are utilized to determine the visual properties of that specific tag.


While these rules set separate properties, it’s easy to define the result: all property settings are applied to the HTML tag. Of course, the ones that are not applicable are simply omitted.

It may happen that multiple rules define values for the same property. While these rules define exactly the same property value, it does not matter which rule wins, because they all set the same value. However, most often ...