HTML
Horizontal Line

Horizontal lines are used to separate different areas of a web page. It displays a horizontal line in the page. The tag for horizontal line is <hr>.

Horizontal Line

Below example will demonstrate the basic architecture of HTML Horizontal Line.

<!doctype html>  
<html>
    <head> 
        <title>Horizontal Line</title> 
    </head>
  
    <body> 
        <h2>PHPDocs</h2>
        <p>Learn HTML from PHPDocs</p>
        <hr>
        <h2>Homepage</h2>
        <img src=”profile.jpg”>
    </body>
</html>