contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif <hr> element

The <hr> element specifies that a horizontal rule of some sort (The default being a shaded engraved line) be drawn across the page.

Attributes

ALIGN

The ALIGN attribute accepts the values left, right, or center. Since horizontal rules do not have to be the width of the page the author may specify whether they should be pushed up against the left margin, the right margin, or centered in the page.

NOSHADE

For those times when a solid bar is required, the NOSHADE attribute lets the author specify that the horizontal rule should not be shaded at all. (Normally, the horizontal rule is given a 3d effect.)

SIZE

The SIZE attributes lets the author give an indication of how thick they wish the horizontal rule to be.

WIDTH

The default horizontal rule is always as wide as the page. With the WIDTH attribute, the author can specify an exact width in pixels, or a relative width measured in percent of document width (i.e., width=50%).