Home > Abakada: Back to Basics > Language References > HTML Element Attributes > BORDERCOLOR Attribute
Specifies the border color of the object.
Inline |
<element bordercolor = strColor...> |
Script |
object.borderColor = strColor ] |
strColor |
String that specifies one of the color names or red-green-blue ( RGB ) values in the Color Table. Note Specifying the color as a color name may not be recognized by some browsers, whereas the RGB color value should always be displayed accurately. |
The property is read/write with no default value.
Except when using this attribute/property with frames, the border property of the object must be set in order to set this property correctly.
FRAME, FRAMESET, TABLE, TD, TH, TR
border, borderColorDark, borderColorLight