Name
COLOR — NN n/a IE 3 HTML 4
Synopsis
COLOR=”colorTripletOrName"
Optional
Sets the font color of all text below the BASEFONT
element. Even though the attribute made its HTML recommendation debut
in Version 4.0, the attribute is nonetheless deprecated.
Example
<BASEFONT COLOR="Olive">
Value
A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.
Default
Browser default.
Object Model Reference
- IE
[window.] document.all.tags(“basefont”)[i].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.