Cascading Style Sheets (CSS) are based on the important principle of separating a page’s appearance from a page’s structure and content. CSS can convert dull pages into interesting and attractively styled pages. CSS is the language used for styling any element in an HTML page. It uses logical and simple English words or abbreviations of English words. A CSS style instruction has at least two simple parts: a selector and a declaration. For example, it could select paragraphs of text and declare that they should be displayed using Arial font.
This chapter contains the following ...