DITA Resource Center

<u>

The <u> element is typically used to apply underline highlighting to the content of the element. This element is part of the highlighting domain. Use this element only when a more semantically appropriate element is not available. For example, for specific items such as GUI controls, use the <uicontrol> element.

note

Style sheets can be used to format the <u> element differently, just like any other element can be restyled. Thus, it is not the case that content in <u> elements will necessarily be rendered as underlined.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/ph hi-d/u

Example

<p>Beware: <u>overuse</u> <i>of</i> <b>highlighting</b> is 
sometimes known as font-itis!</p>

Attributes

The following attributes are available on this element: Universal attribute group and @outputclass.

Was this page helpful?