1. Home
  2. Computing & Technology
  3. Web Design / HTML

<u></u>

By Jennifer Kyrnin, About.com

<u> Description:

The <u></u> tag defines the enclosed text as underlined.

This tag has been deprecated in favor of style sheets.

<u> Web Browser Support:

<u> Attributes:

<u> End Tag:

</u> REQUIRED

<u> Contents:

Text. The following tags are valid within the <u> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var

<u> Valid Context:

The <u> tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, pre, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

<u> Usage:

  • underlined text
    <u>This text is underlined</u> but it's not a link.

<u> Special Notes:

  • The <u> tag has been deprecated in favor of CSS.
  • Keep in mind, when you use this tag, that links are typically underlined, and having non-linked text underlined can frustrate your readers.

More <u> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The u Element - underline text - deprecated - XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.