© Adrian W. West 2016

Adrian W. West, Practical Web Design for Absolute Beginners, 10.1007/978-1-4842-1993-5_3

3. Styling the Website with CSS

Adrian W. West

(1)Colyton, UK

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 ...

Get Practical Web Design for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.