HTML underline tag

Last Updated on April 26, 2023 by Roshan Parihar


Definition of HTML underline tag

HTML Underline tag is a formatting tag used in content to make text underline.


What is the use of HTML5 underline tag

We can make text underline to show headings. Highlighting some content of text need a special format. However we can also make text underline using the CSS text decoration property. The html underline creates a text looks same as of word doc underline text using ctrl+u keyboard shortcut.

Text decoration underline can be used easily for the replacement of this tag or alternative. An alternative method to make text underline without using the u tag.

Table of Content

  1. Syntax
  2. Resources and References

Syntax:

underline tag is useful when you want to highlight your text. They can also be useful when you want to show the main topic for the content.

Output

Underline text appearance as of word document.

You should also see for

If you have any query, you can send to Tutorialdeep mail id [email protected].


Resources and References

1. W3C Specification
2. HTML living standard
3. W3C project using Github