After establishing the basic structure of your page…
You will want to apply formatting rules.
This is accomplished separately, viaStyle Rules.
Soon, we will discuss application methods:
Applied separately, asInline style rules.
Applied in groups, via style sheets:
First, let’s discuss how to create style rules
And how to apply them to selected elements.
We will learn more about the actualpropertiesin the next lectures.
Today, our examples will stick to fairly obvious rules, like:
which sets the color propertyof the targeted element(s)
Here, to the value, red.
Let’s take a look at style rule structure.