Typographic elements
The typographic elements are used to highlight text with styles
(such as bold, italic, and monospace). Never use these elements when a semantically
specific element is available. These elements are not intended for use by
specializers, and are intended solely for use by authors when no semantically
appropriate element is available and a formatting effect is required.
- bThe bold (<b>) element is used to apply bold highlighting to the content of the element. This element is part of the DITA 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.
- iThe italic (<i>) element is used to apply italic highlighting to the content of the element. This element is part of the DITA highlighting domain. Use this element only when a more semantically appropriate element is not available. For example, for specific items such as variable names, use the <varname> element.
- supThe superscript (<sup>) element indicates that text should be superscripted, or vertically raised in relationship to the surrounding text. Superscripts are usually a smaller font than the surrounding text. This element is part of the DITA highlighting domain. Use this element only when a more semantically appropriate element is not available.
- subA subscript (<sub>) indicates that text should be subscripted, or placed lower in relationship to the surrounding text. Subscripted text is often a smaller font than the surrounding text. Formatting may vary depending on your output process. This element is part of the DITA highlighting domain. Use this element only when a more semantically appropriate element is not available.
- ttThe teletype (<tt>) element is used to apply monospaced highlighting to the content of the element. This element is part of the DITA highlighting domain. Use this element only when a more semantically appropriate element is not available. For example, for specific items such as inline code fragments, use the <codeph> element.
- uThe underline (<u>) element is used to apply underline highlighting to the content of the element. This element is part of the DITA 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.
Previous topic: Hazard statement elements
Next topic: Utilities elements
Parent topic: Domain elements