HTML and CSS Reference
In-Depth Information
Compatibility
CSS 2, 3
IE 4 (buggy), 5+
Netscape 4+ (buggy), 6+, Firefox 1+
Opera 5+, Safari 1+
Note
• In future CSS specifications, other clipping shapes may be supported.
color
This property sets the foreground color of an element's text content.
Syntax
color: color | inherit
where color is a valid CSS color value.
Examples
.sunflower {color: yellow;}
#sunburn {color: #FF0000;}
p {color: #FF0;}
#sunburn2 {color: rgb(255,0,0);}
body {color: rgb(100%,100%,100%);}
Search WWH ::




Custom Search