Tutorial This tab displays a horizontal line on the screen that splits different parts of the page. <HR> has three properties:
sizeWidth of horizontal line
widthThe length of the horizontal line, expressed as a percentage of the screen width or pixel value.
AlignHorizontal line alignment, there are three kinds of left right center
NoShadeLine segment has no Shadow property, is a solid segment
We can use several examples to illustrate the use of this segment:
Set the thickness of a segment
<HTML>
<HEAD>
<TITLE> Segment Thickness Setting </TITLE>
</HEAD>
<BODY>
<P> This is the first line segment, no size set, take the default value size=1 to display <BR>
<HR>
<P> This is the second line segment,size=5<br>
<HR size=5>
<P> This is the third line segment,size=10<br>
<HR size=10>
</BODY>
</HTML>
Set the length of the segment
<HTML>
<HEAD>
<TITLE> segment Length Setting </TITLE>
</HEAD>
<BODY>
<P> This is the first line, no width set, take the width of the default value of 100% to display <BR>
<HR size=3>
<P> This is the second line segment, width=50 (dots) <BR>
<HR width=50 size=5>
<P> This is the third line segment, width=50% (Percent way) <BR>
<HR width=50% size=7>
</BODY>
</HTML>
The setting of line segment arrangement
<HTML>
<HEAD>
<TITLE> line arrangement of the set </TITLE>
</HEAD>
<BODY>
<P> This is the first line segment, no align set, (Take the default value center display) <BR>
<HR width=50% size=5>
<P> This is the second line segment, aligned to the left br>
<HR width=60% size=7 align=left>
<P> This is the third line segment, Align Right <BR>
<HR width=70% size=2 align=right>
</BODY>
</HTML>
Shadow-Free settings
<HTML>
<HEAD>
<TITLE> no shadow setting </TITLE>
</HEAD>
<BODY>
<P> This is the first line segment, no NoShade set, take the default value shadow effect to display <BR>
<HR width=80% size=5>
<P> This is the second line segment, has NoShade set <BR>
</BODY>
</HTML>