July 1998
Intermediate to advanced
1456 pages
65h 5m
English
color — NN 4 IE 4 CSS 1
Inherited: Yes
Defines the foreground text color of the element. For some graphically oriented elements, such as form controls, the color attribute may also be applied to element edges or other features. Such extra-curricular behavior is browser-specific and may not be the same across browsers.
color: colorcolor
See the discussion of color attribute values at the beginning of this chapter.
black
TH {color: darkred}All elements.
[window.]document.all.
elementID.style.color
Read now
Unlock full access