CSS Property: color
[this page | pdf | back links]
The CSS (CSS1) color property indicates the colour of
text within an element. Usually you should choose a combination of background
colour and text colour that makes the text easy to read.
Valid property values
(other than inherit
and initial) are:
|
Default Value:
|
N/A
|
|
JavaScript syntax:
|
e.g. object.style.color="red"
|
|
Inherited:
|
Yes
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties