The <hr> Horizontal Rules element

The HTML <hr> tag is used for creating a horizontal line. This is also called Horizontal Rule in HTML which makes distinction between different sections of a web page.
<hr align="center" width="50%" size="5" noshade color="red">

align"left" | " center" | "right"
widthA positive integer (or) a positive integer between 1 and 100 followed by %; default is "100%"
sizeThe thickness of the rule in pixel; the default is 2
noshade If present, the rule is flat rule. else a 3D rule with a shadow.
colorThe default color is "black".

*A horizontal rule tag <hr> does'nt require an ending tag.
*A horizontal rule can have more than one attributes.

Related Tutorial
Follow Us # # # # #