HTML CSS Reference/HTML Attributes Reference/bgcolor
"bgcolor" Example
<HTML>
<head>
<Title>Example For bgcolor</Title>
</head>
<BODY>
<table bgcolor="white">
<col span="2" bgcolor="blue">
<col bgcolor="green">
<tr><td>table cell</td></tr>
</table>
</body>
</BODY>
</HTML>
bgcolor is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<body> <col> |
| |<colgroup> <marquee> |
| |<table> <tbody> |
| |<td> <tfoot> |
| |<th> <thead> |
| |<tr> |
+----------------+--------------------------------------------------------------+
"bgcolor" Syntax and Note
Note:
This attribute defines the background color.
Its value is either a color name or a hexadecimal color value using the
"#RRGGBB" method.
Syntax:
<element bgcolor="value"> . . . </element>