Name

u — HTML 4.01

Synopsis

<u> . . . </u>

Enclosed text is underlined when displayed. Underlined text may be confused as a hypertext link, but if underlining is required, Cascading Style Sheets is the preferred method.

Notes

Deprecated in HTML 4.01/XHTML 1.0. Not in HTML5.

Attributes

Core, Internationalization, Events

Example

<p><u>Underlined text</u> may be mistaken for a link.</p>

Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.