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.
snippet
<hr>
<hr align="center" width="50%" size="5" noshade color="red">
Attributes:

AttributesDescription
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".

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

Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 # # # # #