This deprecated, presentational element is not recommended. Authors should generally find an alternative way to accomplish the same task while adhering to all best practices, or simply do without it if it is unimportant.

The HTML <u></u> element underlines all contained text. As of HTML 4.0 it is deprecated in favor of the CSS text-decoration:underline; property in order to separate presentation from content.


Global Attributes

See Global HTML Attributes.

To apply this element in an HTML document, use:

<u>Text to be underlined.</u>

This will generate: Text to be underlined.

See Also

External links

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.