EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.
bgcolor attribute | bgColor property
Deprecated. Sets or retrieves the background color behind the object.
Syntax
| HTML | <element bgcolor="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Variant
one of the color names or RGB values in the Color Table.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- 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
Send comments about this topic to Microsoft
Build date: 11/28/2012
