<hr>

HTML4 HTML5

Horizontal rule/break.

Opening tag is required, closing tag does not exist (disallowed).

Attributes (deprecated):

align = "..." - Specifies text alignment (left, center, right, justify)

noshade = "..." - Solid line color

size = "..." - Line thickness

width = "..." - Line length

Example

Code:

<p>First paragraph.</p>
<hr>
<p>Second paragraph, separated by a horizontal line.</p>

The browser will interpret this code as follows:

First paragraph.


Second paragraph, separated by a horizontal line.