In this article we are going to explain what is <hr> tag in html or why use hr tag in HTML or how to use hr element in html or how to draw a horizontal line in html with example.
The <hr> element is used to specify a thematic break between paragraph-level elements. It is typically rendered as a horizontal line.
Example of HTML hr Tag
Let's see the code to display the horizontal line.
<title>This is the example of hr tag</title>
<p>This is above line.</p>
<p>This is below the line.</p>
I hope this article will help to you after reading.