1. Technology

<u></u>

By

U Description:

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

The U tag has been deprecated in favor of the text-decoration style property.

U Web Browser Support:

HTML Versions

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.

It’s better to use the text-decoration style:

<span style="text-decoration: underline;">This text is underlined</span> but it’s not a link

U Special Notes:

  • The U tag has been deprecated in favor of CSS. You should use the text-decoration style property instead of this tag.
  • Keep in mind, when you use this tag, that links are typically underlined, and having non-linked text underlined can frustrate your readers.

More Information:

©2014 About.com. All rights reserved.