Difference between revisions of "Background-color"

From Htmlpedia
Jump to: navigation, search
Line 1: Line 1:
==CSS property: background-color==
+
==CSS 1 property: background-color==
  
 
The background-color property sets the background color of the text in the selected elements.
 
The background-color property sets the background color of the text in the selected elements.

Revision as of 11:41, 25 November 2006

CSS 1 property: background-color

The background-color property sets the background color of the text in the selected elements.

Example

Good
<style type="text/css">
     a { background-color: green; }
</style>
...
<a href="http://www.example.com/">Black link on a green background</a>

References