Name
COLOR — NN n/a IE 4 HTML n/a
Synopsis
COLOR=”colorTripletOrName"
Optional
Sets the color of the HR
element in Internet
Explorer. Setting the COLOR
attribute also turns
on the NOSHADE
attribute. If you want a 3-D effect
rule to appear with a color, use the style sheet
color:
attribute. Navigator 4, however,
doesn’t apply color style sheet rules to HR
elements.
Example
<HR COLOR="salmon">
Value
A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.
Default
None.
Object Model Reference
- IE
[window.]document.all.elementID.color
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.