By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

HTML HR Tag

Reference on the HTML hr Element. Includes a list of allowed attributes, and useful example.

Edited: 2014-12-28 07:08

The HTML HR Element is used to insert a horizontal rule, (also known as horizontal line).

You can style the hr element with CSS, which may also be the reason why its called a rule.

Attributes

Standard Attributes.

Attribute:Value:Description:
AttributesOther AttributesCommon, Event, I18n

HTML hr Example

Inline Quote Example.

<p> Hallo This is some Text</p>
<hr>