|
Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
CSS Styles also enhance your site's look, accessibility and reduces file size.
Another main advantage is reusability - instead of defining the properties of fonts, backgrounds, borders, bullets, uniform tags, etc. each time you use them you can just assign the corresponding css style in the class property.
Using the css you can do this :
* set page margins
* set left and right and first-line indents
* set the amount of whitespace above and below
* set the font type, style and size
* add borders and backgrounds
* set colors with named or numeric values.
Setting the color of the text and the background,by using the STYLE element to set style properties for the document's tags.
The style element is placed within the document head. The body background color is white and color of the text is yellow.
|