Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <u> Tag


Example

Underline a misspelled word with the <u> tag:

<p>This is a <u>parragraph</u>.</p>
Try it Yourself »

Definition and Usage

The <u> tag represents some text that should be stylistically different from normal text, such as misspelled words or proper nouns in Chinese.

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


Browser Support

Element
<u> Yes Yes Yes Yes Yes

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 Pages

HTML tutorial: HTML Text Formatting

HTML DOM reference: Underline Object


Default CSS Settings

Most browsers will display the <u> element with the following default values:

Example

u {
  text-decoration: underline;
}
Try it Yourself »