HTML <u> (Underline) Tag

❮ Previous Reference Next ❯


<p>This text is <u>underlined</u>.</p>


The <u> element specifies that the enclosed text should be displayed underlined.

The CSS property text-decoration:underline; more useful to use.

Note: The <u> tag was deprecated in HTML 4, but it has been redefined in HTML5. However, it is better to avoid using this tag for underlining the text, because a user might confuse it with a hyperlink.

Other elements to consider using:

Tags Description
<em> to denote stress emphasis
<b> to draw attention to text
<mark> to mark key words or phrases
<strong> to indicate that text has strong importance
<cite> to mark the titles of books or other publications
<i> to denote technical terms, transliterations, thoughts, or names of vessels in Western texts

Version: HTML 3.2, 4, 4.01, 5

Standard Syntax


Browser Support


Global Attributes

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

Event Attributes

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

By Default CSS Value(s)

Most of the browsers will display the <u> element with the following by default value(s)

u {
  text-decoration: underline;
❮ Previous Reference Next ❯