| Home > Horizontal Rule (line)
< Previous PageHorizontal Rule (line)
Standard Horizontal Rule is centered, 40% of page width, and gray:
<hr width="40%" color="gray" />
Plain <hr />
- Displays all the way across page:
size=_____ - Changes thickness of the Rule.
Note that the line will not be filled in less the color attribute is added to tag.
<hr size=2 />
<hr size=3 />
<hr size=4 />
<hr size=5 />
<hr size=6 />
<hr size=7 />
<hr size=8 />
<hr size=9 />
<hr size=10 />
color=_____ - Fills Rule:
Examples below show size 10 in various colors
<hr size=10 color=green />
<hr size=10 color=black />
<hr size=10 color=red />
<hr size=10 color=orange />
width=______ - controls the length of the rule.
HR width of 75%, size 10, color Pink
<hr size=10 color=pink width="75%" />
HR width of 50%, size 10, color Pink
<hr size=10 color=pink width="50%" />
HR width of 10%, size 10, color Pink
<hr size=10 color=pink width="10%" />
|
| |