U - Underlined Text

Syntax <U>...</U>
Attribute Specifications
Contents
Contained in ,

The U element, in HTML 4.0, suggests that text be rendered as underlined text. In most cases, use of a such as or is more appropriate since such elements express the meaning of the text more clearly.

should be used to complement or replace instances of U. For example, replacing

<H1><U>My heading</U></H1>

with

<H1>My heading</H1>

and

H1 { : underline }

in a style sheet allows the author to change the presentation of all elements in an entire site by changing just one line in the style sheet.

More Information