The highlighting 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.
<b>
element is typically used to apply bold 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.<i>
element is typically used to apply italic 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 citations, use the <cite>
element.<sup>
element indicates that text should appear with superscript highlighting, 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 highlighting domain. Use this element only when a more semantically appropriate element is not available.<sub>
element indicates that text should appear with subscript highlighting, or placed lower in relationship to the surrounding text. Subscripted text is often a smaller font than the surrounding text. Formatting might vary depending on your output process. This element is part of the highlighting domain. Use this element only when a more semantically appropriate element is not available.<tt>
(teletype) element is typically used to apply monospaced 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 inline code fragments, use the <codeph>
element.<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.<line-through>
element indicates text that is rendered with a line struck through the content. This element is designed to enable authors to indicate a deletion or revision for rhetorical purpose; it is not intended to be used for indicating revisions. This element is part of the highlighting domain. Use this element only when a more semantically appropriate element is not available. <overline>
element indicates content that is rendered with a line above it. This element is part of the highlighting domain. Use this element only when a more semantically appropriate element is not available.