July 1998
Intermediate to advanced
1456 pages
65h 5m
English
bgColor — NN n/a IE 4 DOM 1
Read/Write
Background color of the table cell. This color setting is not
reflected in the style sheet backgroundColor
property. Even if the BGCOLOR attribute or
bgColor property is set with a plain-language
color name, the returned value is always a hexadecimal triplet.
document.all.myTD.bgColor = "yellow"
A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.
Varies with browser and operating system.
Read now
Unlock full access