How to make horizontal line in markdown

In this post, we will learn how to make a horizontal line in markdown.

In HTML, we can create a horizontal rule by using the <hr/> tag.

However, in markdown, we can create a horizontal rule by using 3 or more asterisks, underscores, or hyphens in a single line.

For example

* * *
- - -
_ _ _

If you are using markdown compilers to convert it to HTML, we will get


Related Topics:

How to write superscript and subscript in markdown

How to center align an image in markdown

How to do text highlight in markdown

How to underline in markdown

How to change image size in markdown in GitHub

Checkbox inside GitHub Markdown Table

Scroll to Top