Html 5 U Tag

In the html5 <u> tag is used to specify underline text and which tag is not supported in html5 and you can use to alternative css property that is text-decoration.

Syntax:

<u> --- </u>

Example Code

<u>Sachin Tendulkar</u> is greatest batsmen in the history of cricket.

Out Put:



Sachin Tendulkar is greatest batsmen in the history of cricket.

In the above example <u> tag has been added to Sachin Tendulkar word.





Content