HTML
Hypertext Markup Language
Definition:
The Horizontal Rule <hr> element is used to represent a thematic break between paragraph-level elements. It is typically rendered as a horizontal line.
Example
<html>
<head>
<title>Skillpundit</title> </head> <body>
<p>Normal horizontal line</p> <hr> <p>Horizontal line with height of 30 pixels and noshade</p> <hr size="30" noshade> <p>Horizontal line with width of 100, aligned right</p> <hr align="right" width="100"> <p>Horizontal line with width of 200, aligned center</p> <hr align="center" width="200"> </body> </html>
<title>Skillpundit</title> </head> <body>
<p>Normal horizontal line</p> <hr> <p>Horizontal line with height of 30 pixels and noshade</p> <hr size="30" noshade> <p>Horizontal line with width of 100, aligned right</p> <hr align="right" width="100"> <p>Horizontal line with width of 200, aligned center</p> <hr align="center" width="200"> </body> </html>
Output
Normal horizontal line
Horizontal line with height of 30 pixels and noshade
Horizontal line with width of 100, aligned right
Horizontal line with width of 200, aligned center