FONT.color (Property)

The color of text contained within a <FONT> block.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myFONT.color

The color of text affected by this FONT object will be defined in this property.

The color can be specified in the normal way according to the HTML color specifiers.

See also:BASEFONT.color, Color names, Color value, String.fontcolor()