JSSTag.color (Property)

A foreground color for an object.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.color
NmyJSSTag.color = aColor
CSS syntax:color: aColor
HTML syntax:<... COLOR="...">
Argument list:aColorcolor value specified as #numeric or color name

The JSSTag.color property corresponds to the color CSS property.

This property controls the foreground color of text in the element.

The value should be a color specified using the normal numeric or symbolic name notation.

The default value depends on the settings in the user preferences of the user agent (the browser).

This value is inherited from its parent container element.


See also:color names, color value, style.color