|
|
home
/ reference
/ html
<hr></hr>

size
width
align
noshade
color
The <hr> is used to include a horizontal line across a page,
usually to divide up sections of text.
<hr size="">
| |
Description
| |
The size attribute is used to specify the height of the
horizontal rule.
|
Code
| |
YOUR TEXT HERE<hr size="5">YOUR TEXT HERE</hr>
|
Appearance
| |
YOUR TEXT HERE YOUR TEXT HERE
|
|
<hr width="">
| |
Description
| |
The width attribute is used to specify the width of the
horizontal rule.
|
Code
| |
YOUR TEXT HERE<hr width="225">YOUR TEXT HERE</hr>
|
Appearance
| |
YOUR TEXT HERE YOUR TEXT HERE
|
|
<hr align="">
| |
Description
| |
The align tag is used to set the alignment of the horizontal rule.
Acceptable values are left, right, and center.
|
Code
| |
YOUR TEXT HERE<hr align="left">YOUR TEXT HERE</hr>
|
Appearance
| |
YOUR TEXT HERE YOUR TEXT HERE
|
| b
<hr noshade="">
| |
Description
| |
The noshade attribute is used when a solid bar is required
for the horizontal break.
|
Code
| |
YOUR TEXT HERE<hr noshade size=5>YOUR TEXT HERE</hr>
|
Appearance
| |
YOUR TEXT HERE YOUR TEXT HERE
|
|
<hr color="">
| |
Description
| |
The color attribute is used to change the color of the
horizontal rule. Color values can either be in hexadecimal
values or in certain predefined color names, the same as can
be used for the <font> tag.
|
Code
| |
YOUR TEXT HERE<hr color="maroon">YOUR TEXT HERE</hr>
|
Appearance
| |
YOUR TEXT HERE YOUR TEXT HERE
|
|
|