HTML <u> tag


Use <u> tag underlines the text:


Try it yourself

Browser Support

IE Firefox Chrome Safari Opera

All browsers support <u> tag.

Definition and Usage

<U> tag to define the underlined text.

Differences between HTML and XHTML

In HTML 4.01, u element is not to be recommended.

In XHTML 1.0 Strict DTD in, u element is not supported.

Tips and Notes:

Note: Try to avoid to underline the text - which will confuse the user as a hyperlink!

Global Properties

<u> tag supports HTML in the global properties .

Event Properties

<u> tag supports HTML in the event properties .