bgColor property
Deprecated. Sets or retrieves a value that indicates the background color behind the object.
Syntax
| JavaScript | |
|---|
Property values
Type: Variant
One of the color names or RGB values in the Color Table.
Standards information
- HTML 4.01 Specification, Section 15.1.1 (Deprecated)
Remarks
Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.
See also
Show: