These are inline text elements that can be used anywhere within text. The default formatting is shown and each may be styled differently depending on their parent element.

Examples

Strong is used to indicate strong importance
This text has added emphasis
The b element is stylistically different text from normal text, without any special importance
The i element is text that is set off from the normal text
The u element is text with an unarticulated, though explicitly rendered, non-textual annotation
This text is deleted and This text is inserted
This text has a strikethrough
Superscript®
Subscript for things like H2O
This small text is small for for fine print, etc.
Abbreviation: HTML
Keybord input: Cmd
This text is a short inline quotation
This is a citation
The dfn element indicates a definition.
The mark element indicates a highlight
This is what inline code looks like
This is sample output from a computer program
The variable element, such as x = y

Usage

Rules

  • Inline elements are, for the most part, considered to be phrasing content, which means they are for formatting text contained within parent flow content