css explained

Cascading Style Sheets ( css ) are great tools for controlling the look of web pages. It can control the colours the layout in fact virtually everything to do with the look of a web page BUT it is supported in different ways by all the different browsers.

css applied to a heading

h1.green { font-weight: bold; color: green; font-family: 'veranda', Arial, sans-serif }


Colour and italic added to text

p.green { color: green; font-style: italic; font-family: 'veranda', Arial, sans-serif }


Different css applied to a heading

h1.red { font-weight: bold; color: red; font-family: 'times new roman' }


Colour and green background added to text

p.red { color: red; background-color: green; font-style: normal; font-weight: 'bold'; font-family: 'veranda', Arial, sans-serif }