CSS Introductory Notes

In these notes I will address the following questions:

  1. What are Style Sheets?
  2. Why use them?
  3. How are Styles Defined and Used?
  4. Where are these CSS styles added to your html page?
  5. What is the Cascade order of CSS?

1. What are Style Sheets?

A way of defining formatting information for Web pages.  You can use them to define font, size, background and forground color, background image, margin and other characteristics for HTML elements.  Style sheets can give you more flexibility in formating instructions by specifying vaues for quantities such as line spacing and left and right margins. 

2. Why use them?                                                                                 [top]

  1. Styles can save time.
  2. Styles are easy to change.
  3. They let you control text in ways not possible with HTML tags.
  4. Styles allow you to create a common format for all of your Web pages, while defining only one style sheet.  When you wish to make changes to the format of all of your pages, you need only modify  one file the style sheet file.

3. How are Styles Defined and Used?                                                         [top]

4. Where are these CSS styles added to your html page?                         [top]

5. What is the Cascade order of CSS?                                                        [top]

 

    

This page was last updated on 05/06/2003 by Linda M. Hicks