bgColor (document)
< html | attributes
bgColor (document)
This page has been flagged with the following issues:
High-level issues:
Summary
Deprecated. Sets or retrieves the background color behind the object.
| Applies to | ? |
|---|
Examples
HTML
<html> <body bgcolor="#ffff00">Hello world!
<a href="http://www.example.com">Visit example.com!</a>
</body> </html>
Notes
Remarks
Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.
Syntax
Standards information
- HTML 4.01 Specification, Section 15.1.1 (Deprecated)
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related pages (MSDN)
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here