How to underline in markdown

featured Image

In this post, we will see how we can underline a text in markdown.

Markdown does not have any syntax to underline, however, we can use the <u> HTML tag to underline any text in our markdown documents.

Underline a text using the <u> HTML tag

hello, this text is <u>underline</u> in markdown

Output:

hello, this text is underline in markdown

Using <ins> tag

We can also use the <ins> HTML tag to underline in a markdown document.

The <ins> tag is the HTML insert tag and it displays as underlined. And so we can use it for underlining.

hello, this text is <ins>underline</ins> in markdown using ins tag.

Output will be

hello, this text is underline in markdown using ins tag.

Conclusion:

Between the <u> and <ins> tag, it is better and is recommended to use the <u> tag, because it is exactly what it does.


Related Articles:

How to write superscript and subscript in markdown

How to do text highlight in markdown

How to change image size in markdown in GitHub

Checkbox inside GitHub Markdown Table

How to make horizontal line in markdown

How to write comments in a Markdown File

How to open markdown link in new tab

Related Posts

git commands with example

Top 40 Git commands with Examples

GitHub has become an essential tool for developers to manage, store, and collaborate with other developers on software projects. With its simple powerful git-based version control system, GitHub allows users…

Read more
Check GitHub Account in the Terminal

Check GitHub Account in the Terminal

GitHub is an integral tool for developers to store, manage, and collaborate on software projects with other developers. And as we work more and more in the command line it…

Read more
featured Image

How to make list of objects in Netlify CMS using list and object Widget

Here in this Netlify CMS tutorial we will how easily we can make a list of objects using list and object widgets. This will allow us to add multiple objects…

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *