the color of the horizontal rule


<hr color="">

Browser
Internet Explorer Firefox
Type
Block-level Empty Extension

The color attribute of the HR element specifies the color of the horizontal rule.


<hr color="#ff0000">


Attribute Value Explanation
color=" " color code or name the color of the horizontal rule

Extension attribute. (Non standard attribute)

Tips and Notes

Use CSS instead of this attribute. Please see the "Related Document" for details on CSS.


Example

<hr> (Default)
Output


<hr color="#0000ff">
Output


<hr size="10">
<hr size="10" color="red">
Output