XML technologies / CSS / Advanced websites with CSS / Adding some colour / Colours in CSS

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

Style rules can assign colours to the following elements on a web page:

The last item is listed only for completeness. Most modern browsers no longer support outlines, so we will not discuss them. A detailed description of all properties is available in the CSS property reference.

  

 

 

 

back to top