HTML <u> underline Tag Reference

The u HTML tag means underline, and it underlines text.

It was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict, so it should never be used

The <u> HTML/xHTML tag

The <u> tag underlines any text which lies within it.

When to use the <u> tag (semantic use)

The <u> tag was deprecated in HTML 4.01 as it only conveys display information, and no semantic meaning. You should use CSS to give text an underline.

Example of <u> tag use

No examples are given as you shouldn't use this deprecated tag.

Alternatives to the <u> tag

You should use CSS to underline text:
.classname {text-decoration: underline;}