Background-color

From Htmlpedia
Revision as of 11:41, 25 November 2006 by Tinalles (talk | contribs)
Jump to: navigation, search

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