How to underline in markdown

📋 Table Of Content
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.
<u>
HTML tag
Underline a text using the hello, this text is <u>underline</u> in markdown
Output:
hello, this text is underline in markdown
<ins>
tag
Using 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.