underline

Node type: Element (may contain text and/or other elements)

Whitespace: Not protected

Definition

Marks text that should be underlined.

Code Sample

<para paraID="4">In the days of typewriters, <emphasis>italics</emphasis> were represented by <underline>underlining.</underline></para>

Display Sample

In the days of typewriters, italics were represented by underlining.

Notes

Avoid using underlining for emphasis. Use italics or in rare instances bold. Generally, do not use this element to create underlining in elements like titles or captions. This will be done with paragraph styles in InDesign and on the Web.

Do not use an empty underline element to mark a blank for user input. Use block textInput or inline textInput elements instead.

Marking in Microsoft Word

Use the underline character style. To embed <underline> in another character style, apply the underline character attribute directly.