<HR> | NN all IE all HTML all
<HR> | End Tag: Forbidden
The HR element draws a horizontal rule according to visual rules built into the browser with a variety of attribute controls. As a block element, the HR element starts and ends its rule on its own line, as if the element were surrounded by BR elements. This element is not a content container, and many of the attributes that have been in use for a long time are deprecated in HTML 4.0 in favor of style sheet rules. The HTML recommendation leaves default appearance specifications up to the browser maker.
Example
    <HR ALIGN="center" WIDTH="80%">
Object Model Reference
IE | [window.]document.all.elementID

ALIGN | NN all IE all HTML 3.2
ALIGN="where" | Optional
Determines how the HR element is rendered in physical relation to the next outermost container (usually the BODY). The ALIGN attribute is deprecated in HTML 4.0 in favor of the align: style sheet attribute.
Example
    <HR ALIGN="right">
Value One of three case-insensitive values: center | left | right.
Default | left
Object Model Reference
IE | [window.]document.all.elementID.align

COLOR | NN n/a IE 4 HTML n/a
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

NOSHADE | NN all IE all HTML 3.2
NOSHADE | Optional
The presence of the NOSHADE attribute tells the browser to render the rule as a flat (not 3-D) line. In Internet Explorer only, if you set the COLOR attribute, the browser changes the default line style to a no-shade style.
Example
    <HR NOSHADE>
Value The presence of the attribute turns on no-shade rendering.
Default | Off.
Object Model Reference
IE | [window.]document.all.elementID.noShade

SIZE | NN all IE all HTML 3.2
SIZE="pixelCount" | Optional
You can override the default thickness of the HR element by assigning a value to the SIZE attribute. The SIZE attribute is deprecated in HTML 4.0 in favor of the height: style sheet attribute. You can use this style rule in Internet Explorer 4, but not in Navigator 4.
Example
    <HR SIZE=4>
Value Any positive integer. A setting of zero still draws a one-pixel thick rule.
Default | 2
Object Model Reference
IE | [window.]document.all.elementID.size

WIDTH | NN all IE all HTML 3.2
WIDTH="length" | Optional
Defines the precise pixel width or percentage of available width (relative to the containing element) to draw the HR element rule. This attribute is deprecated in HTML 4.0 in favor of the width: style sheet attribute.
Example
    <HR WIDTH="75%">
Value Any length value in pixels or percentage of available space.
Default | 100%
Object Model Reference
IE | [window.]document.all.elementID.width