Body rule properties will apply to all page elements, unless you specify otherwise. If your body rule looks like this:
All of the content on the page will follow those rules. All type (heads, lists, tables and paragraphs) will be sans-serif and #CC0000. Heads, of course, will appear in the appropriate size.
You do not need to specify:
But, and its a big but, if you want an element to vary from the body declaration, then you should create a new rule:
Performing newly learned task takes longer than performing a practiced one. As you practice, test and master CSS, it will become faster and easier.
You may feel as though you are typing more than if you had prepared a straight HTML document, but you will soon see how that typing provides so much control over the appearance of your document.
If you decide to make your paragraph font bigger or smaller or a different color, you will only need to type that change once, not in every paragraph tag of your document.
Attaching a style sheet to all pages of the same design eliminates even more typing.
In these lessons we are trying to use as much CSS as possible. In your web page design, you may find yourself using a few powerful properties.
Also, as you become more practiced, you will discover some shortcuts in specifying CSS.