HTML <hr> Tag Example

HTML Code:

<h2>Section 1</h2>
<p>This is the first section.</p>

<hr>

<h2>Section 2</h2>
<p>This is the second section.</p>
    

Output in Browser:

Section 1

This is the first section.


Section 2

This is the second section.

Note: The <hr> tag creates a horizontal line and is used to separate content or sections in an HTML document.