Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

bgcolor attribute | bgColor property

Deprecated. Sets or retrieves the background color behind the object.

Syntax

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

p = object.bgColor

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

body
marquee
table
tBody
td
tFoot
th
tHead
tr

 

 

Show:
© 2014 Microsoft