HTML <u> Tag


The <u> element is used to specify text that should be formatted differently or include a non-textual annotation.

Traditionally, browsers display the content contained within the <u> tag as highlighted text. This tag is also generally known as the <u> element.

Tips: Instead of using the <u> tag to underline text, use CSS, such as the text-decoration property. Make certain that your underlined text is not misconstrued with a hyperlink.

Syntax

Example

Preview

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<u> Yes Yes Yes Yes Yes