» You can add a horizontal rule to visually separate sections of your Web page. |
|
- Type <HR> where you want a horizontal rule to appear on your Web page.
Note: You should not overuse horizontal rules on your Web page since this can distract your readers, and make your Web page difficult to read. Try not to place more than one horizontal rule on each screen.
|
» Change Thickness |
|
- In the <HR> tag for the horizontal rule you want to change,
type Size=? replacing ? with the thickness you want to use for the horizontal rule in pixels.
Note: The Size attribute is still supported by Web browsers, but the use of style sheets is now preferred.
|
» Change Color |
|
- In the <HR> tag for the horizontal rule you want to change,
type Color=? replacing ? with the color you want to use for the horizontal rule.
|
» Change Width |
|
- In the <HR> tag for the horizontal rule you want to change,
type Width="?%" replacing ? with the percentage of the Web page you want the horizontal rule to extend across.
Note: The Width attribute is still supported by Web browsers, but the use of style sheets is now preferred.
|
» Change Alignment |
|
- After changing the width of a horizontal rule, you can change the alignment of the rule.
- In the <HR> tag for the horizontal rule you want to change,
type Align="?" replacing ? with the way you want to align the horizontal rule (left, center or right).
Note: The Align attribute is still supported by Web browsers, but the use of style sheets is now preferred.
Example:
<HR Size=5 Color=Brown Width="80%" Align="Center">
|