36
The base font size does not apply to headings, except where these are modified using the FONT element
with a relative font size change.
15.3 Rules: the HR element
<!ELEMENT HR - O EMPTY -- horizontal rule -->
<!ATTLIST HR
%coreattrs; -- id, class, style, title --
%events;
>
Start tag: required, End tag: forbidden
Attribute definitions
align = left|center|right [CI] [p.43]
Deprecated. [p.34] This attribute specifies the horizontal alignment of the rule with respect to the
surrounding context. Possible values:
left: the rule is rendered flush left.
center: the rule is centered.
right: the rule is rendered flush right.
The default is align=center.
noshade [CI] [p.43]
Deprecated. [p.34] When set, this boolean attribute requests that the user agent render the rule in a
solid color rather than as the traditional two-color "groove".
size = pixels [p.46] [CI] [p.43]
Deprecated. [p.34] This attribute specifies the height of the rule. The default value for this attribute
depends on the user agent.
width = length [p.46] [CI] [p.43]
Deprecated. [p.34] This attribute specifies the width of the rule. The default width is 100%, i.e., the
rule extends across the entire canvas.
Attributes defined elsewhere
id, class (document-wide identifiers [p.65] )
lang (language information [p.71] ), dir (text direction [p.73] )
title (element title [p.57] )
style (inline style information [p.174] )
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove,
onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events [p.240] )
align (alignment [p.183] )
190
15.3 Rules: the HR element