HTML <hr> tag

HTML <hr> tag : Definition

• The <hr> tag is derives a horizontal rule(line) and it is used to insert a horizontal rule(line) or a thematic break between two or more paragraph elements.



<hr> tag example :

<!DOCTYPE html> 
<html> 
    <head> 
        <title>HTML hr Tag example</title> 
    </head> 
    <body> 
        <hr> 
            <p>This is first paragraph.</p> 
            <hr>
            <p>This is second paragraph.</p> 
        </hr> 
    </body> 
</html> 


OUTPUT :


  

This is first paragraph


This is second paragraph