Name
<hr> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
Synopsis
<hr>
Adds a horizontal rule to the page.
Attributes
-
align=center|left|right
If the rule is shorter than the width of the window, this tag controls horizontal alignment of the rule. The default is
center
.-
noshade
This displays the rule as a solid (non-shaded) bar.
-
size=
number
Specifies the thickness of the rule in pixels.
-
width=
number
or%
Specifies the length of the rule in pixels or as a percentage of the page width. By default, rules are the full width of the browser window.
Get Web Design in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.