How to insert a horizontal line in Markdown?

Markdown provides three different ways of inserting a horizontal line. To insert a horizontal line, you have to type three asterisks, underscores or hyphens.

Markdown HTML Output
*** <hr />
___ <hr />
--- <hr />

It is recommended that you use hyphens for creating a horizontal rule because hyphens look like a line and are easy for you to remember.