CSS Introduction [Sept. 23, 2011, 12:25 a.m.]
So far we have explored the semantic markup provided by HTML. Our output has been widely accessible, but slightly bland :-P
Lets take a look at Cascading Stylesheets (CSS), which will be used as a complement to HTML.
Cascading Stylesheets
CSS provides us with a means to apply stylistic rules to our HTML documents. These rules include font selection, alignment, color, layout, and even animations (with the new CSS3)!
In this task, we will be styling our previous work with several common CSS selectors. A CSS selector targets a specific page element or even a class of elements such as links or paragraph text and enables us to selectively style to our heart's content. The CSS selectors that we will be covering in this task are:
- h1 - h6 (if necessary)
- body
- p
- li