Syntax Diagram for <hr>
"<hr>" stands for "horizontal rule;" it creates a horizontal
line that visually delimits the section above from the section beneath.
- Specifies the horizontal extent of the rule. The width can be expressed
as a percentage of its enclosing window or frame, or as an absolute width,
measured in pixels.
- Specifies the vertical extent--the "thickness"--of the rule. Expressed in
pixels. Maximum value is 100.
- Specifies the alignment of the rule. Note that this has no effect unless
the size parameter is also specified, and specifies a width that
is less than the current width of the containing window/frame.
- Specifies that the rule is not to have its default 3D appearance (with
highlights on the bottom and right and shadows on the top and left, making
the rule appear to be dented into the page), but instead it will be a
- Specifies that the rule should "clear" (should be placed below the bottom
of) any graphics around which text wraps.
"clear=left" directs the browser to go far enough
down, before drawing the rule, to be below any images with
"align=left" specifiers. Without the
"clear=left", the rule would merely wrap around the
graphic like text does.
"<hr size=10>" yields:
"<hr width=100>" yields:
"<hr width=20%>" yields:
"<hr width=20% align=left>" yields:
"<hr width=20% align=center>" yields:
"<hr width=20% align=right>" yields:
"<hr size=5 noshade>" yields:
"<hr size=100 width=10 noshade>" yields:
Horizontal Bar Chart
Vertical Bar Chart