- Description
Sets the background color of an element.
- Example
p{ background-color:green; } span{ background-color:#336699; }
- Values
- blue | #009900 | rgb(0, 255, 0)
- Introduced in CSS version
- 1
- Applies to elements
- All
- Inherited
- No
- Browser Support
Browsers IE 
Firefox 
Safari 
Opera 
Chrome 
Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties