HTML HR Tag

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

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>

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.