Horizontal Rules

The <hr> tag creates a horizontal line on HTML pages. It has no closing tag, but can be closed using <hr />tag. Either way works. Use this element to separate contents:

HTML file: Displayed by browser:
<p>This the the first paragraph.</p>

<p>This is the second paragraph.</p>

<hr />

<p>This is the third paragraph.</p>

<hr><hr />

<p>This is the fourth paragraph.</p>

This the the first paragraph.

This is the second paragraph.


This is the third paragraph.



This is the fourth paragraph.

Back button Table of Contents Next button