| Selector | |
|---|---|
|
Commonly called Element selector. It selects an HTML element. It is a generic selector. |
|
Starts with a (.) then the element that was named after class declaration. It can be applied to multiple sections in the HTML document. |
|
Starts with a (#) with the element named after. It can only be used once per page. |
| Declaration Blocks |
|---|
| Ordered collection of CSS properties and values. |
| Declaration |
|---|
| Represents CSS properties and values that will be applied to the selector. |
| Property |
|---|
| Properties are specific actions that is applied to the selector. An example of this is changing the background color. |
| Value |
|---|
| value type defining the set of values that are allowed for that property. |