Export (0) Print
Expand All

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