July 1998
Intermediate to advanced
1456 pages
65h 5m
English
BGCOLOR — NN all IE all HTML 3.2
BGCOLOR=”colorTripletOrName"Optional
Establishes a fill color (behind the text and other content) for the
entire document. If you combine a BGCOLOR and
BACKGROUND, any transparent areas of the
background image let the background color show through. This
attribute is deprecated in HTML 4.0 in favor of the
background-color style attribute.
<BODY BGCOLOR="tan">...</BODY>
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.
Varies with browser, browser version, and operating system.
[window.]document.bgColor
[window.]document.bgColor
[window.]document.body.bgColor
Read now
Unlock full access