Horizontal Rules

A horizontal rule is a line that runs across the browser window. These can be used to visually differentiate content in a document.

HTML
<p>This is a paragraph element.</p>

<hr />

<p>This is another paragraph element.</p>

Compare this to Markdown:

Markdown
This is a paragraph.

---

This is another paragraph.

Horizontal rules cleanly create boundaries between content, and span the width of the page (or browser, if full width).


html break empty horizontal rule