Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

color attribute | color property

Sets or retrieves the color to be used by the object.

Syntax

HTML<element color="p" ... >
JavaScript

p = object.color

Property values

Type: Variant

one of the color names or RGB values in the Color Table.

Standards information

Remarks

Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.

See also

hr

 

 

Show:
© 2014 Microsoft