Language References
Draws a horizontal rule. | HTML 2, 3.2, 4, 4.01, 5 |
HTML Syntax
<hr
align = center | left | right
class = classname
color = color
id = value
noshade
size = n
style = css properties
title = text
width = n
event = script
>
The HR element draws a horizontal line across the document frame or window. Horizontal rules visually divide information into sections.
If not specified, the HR element defaults to a height of 2 pixels, and spans the width of the page.
The amount of vertical space inserted between a rule and the content that surrounds it depends on the user agent.
The HR element requires only a start tag; the end tag is forbidden.
HR Members
The following example draws a horizontal rule similar to the ones rendered on this page.
<hr size=1 width="90%">