Continually Improving.... let us know how support@devdiamond.net Sign in | Sign up
home articles news blog forum  

 
 


 
Skip Navigation LinksHome > Article > Positioning Tags :: HR Tag
Positioning Tags :: HR Tag
Abstract :
Learn about the HR Tag, and what is it used for.

Views : 2635
Published : Saturday, March 16, 2002
By
HyperLink

Avarage Rating :
Page Page 1 of 1

HR stands for horizontal rule, which is the horizontal bar that can appear on your page. A simple use of this tag is shown below after its' code

This is text on top of the horizontal rule.
<hr>
This is text on bottom of the horizontal rule.


Example

This is text on top of the horizontal rule.


This is text on bottom of the horizontal rule.

This tag has a number of additional parameters that can be used to change the appearance of the bar the table below shows a list of these parameters

Parameter Name Description
SIZE Specifies the thickness of the bar
WIDTH Specifies the width of the bar in either pixels or as a percentage
ALIGN Indicates how the bar should be placed on the page (left, center, right)
NOSHADE Removes the shadow that normally appears below the bar
COLOR Specifies the color of the bar; if omitted, the default is dark gray

<-- Back to BR Tag



About Author

        Yasir Send Feedback
        Yasir is a .NET expert, with over 5 years experience in Microsoft Technologies, 8 years overall programming experience, he is the owner, founder & primary contributor of Minwar.com, and he also works as IT Director in the hospitality industry.