Skip to content

Text Styles

The following table demonstrates standard paragraph text and various inline text styles. These styles can be applied to enhance readability, emphasize important information, or provide semantic meaning to the content.

Element / ModifierMeaningPreview (Live)Code Snippet
DefaultStandard body text

Default paragraph text.

<p>Default paragraph text.</p>
SmallSmall text

Small text in a paragraph.

<p><small>Small text</small></p>
StrongSemantic importance

Strong text in a paragraph.

<p><strong>Strong text</strong></p>
ItalicEmphasized text

Emphasized text in a paragraph.

<p><em>Emphasized text</em></p>
Bold ClassUtility-based weight

Bold span tag

<span class="-bold">...</span>
Italic ClassUtility-based style

Italic span tag

<span class="-italic">...</span>
Marked TextHighlight words in a text

Text with marked text

<mark>...</mark>
Marked Text (Current Match)Highlight the current match e.g. in search results

Text with current match

<mark class="-is-current-match">...</mark>
CodeInline Code

Text with code example

<code>...</code>