The <hr> tag is used for creating a horizontal line.

Example Code:
<p>This is some text.</p>
<p>This is some text.</p>

This is some text.

This is some text.

Attribute Definition
align Specifies the alignment of a hr element.
noshade Specifies that a hr element should render in one solid color (noshaded), instead of a shaded color.
size Specifies the height of a hr element.
width Specifies the width of a hr element.
Global Attributes:

The <hr> tag also supports the Global Attributes in HTML5

Event Attributes:

The <hr> tag also supports the Event Attributes in HTML5

Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.