javascript MARQUEE bgColor

bgColorNN n/a IE 4 DOM n/a  

Read/Write  

Background color of the element. 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.

 
Example
 
document.getElementById("myBanner").bgColor = "yellow";
 
Value

A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.

 
Default

Inherits body background color.


1218,Nickname,Homepage or email,Comments here,Add comment