Name
BGCOLOR — NN 3 IE 3 HTML 3.2
Synopsis
BGCOLOR=”colorTripletOrName"
Optional
Establishes a fill color (behind the text and other content) for the
cell defined by the TD
element.
Example
<TD BGCOLOR="yellow">
Value
A hexadecimal triplet or plain-language color name. A setting of
empty is interpreted as "#000000"
(black). See
Appendix A for acceptable plain-language color names.
Default
Varies with browser, browser version, and operating system.
Object Model Reference
- IE
[window.]document.all.elementID.bgColor
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.