CSS - Instructions that tell the browser how to display the elements on a webpage. Purpose - to replace deprecated tags to handle presentation issues types of CSS: 1. inline - style applied within the tag ex)

heading ex

2.Internal - also embedded or document-level style sheet; resides n the head of the document 3. External CSS - resides in a seperate file which is referenced from within the HTML document; saved with a ".css" extension The meaning of 'cascading' - refers to the cascading order of procedence for formatting. In general, the formatting closest to the affected element has precedence. 1. If no other formatting changes are specified, the browser default will determine how an element is displayed 2. An external style sheet would take precedence over the browser 3. Internet or embedded style sheet takes precedence over external and browser 4. Inline takes precedence over all others Advantages and Disadvantages of CSS 1. time saver 2. reduces the file size 3. reduces clutter in your code 4. makes it easy to create a common format for all pages on your site 5. reached beyond HTML's limits in formatting Disadv. No one browser supports CSS completely 1
Hosted by www.Geocities.ws