javascript HR color

color NN n/a IE 4 DOM n/a  

 

Read/Write  

Sets the color scheme of the horizontal rule. If the rule is rendered in 3-D, complementary colors are automatically assigned to the shaded area.

 
Example
 
document.getElementById("myHR").color = "red";
 
Value

Case-insensitive hexadecimal triplet or plain-language color name as a string. See acceptable plain-language color names.

 
Default

Browser default.


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