u Tag in HTML


Mark up a misspelled word with the <u> tag:

<p>This is some <u>mispeled</u> text.</p>


The u element

This is some mispeled text.


Definition and Usage

The <u> tag represents some text that is unarticulated and styled differently from normal text, such as misspelled words or proper names in Chinese text. The content inside is typically displayed with an underline. You can change this with CSS (see example below).

Tip: Avoid using the <u> element where it could be confused for a hyperlink!

Global Attributes

The <u> tag also supports the Global Attributes in HTML.

Event Attributes

The <u> tag also supports the Event Attributes in HTML.

Related Articles