Fonts

Makes text bold (visual only, no semantic meaning).

<b>Bold text</b>

Semantically important bold text.

<strong>Important text</strong>

Makes text italic (visual only, no semantic meaning).

<i>Italic text</i>

Semantically important italic text.

<em>Emphasized text</em>

Adds an underline to the text.

<u>Underlined text</u>

Highlighted text

<mark>Highlighted text</mark>

Renders smaller text.

<small>Smaller text</small>

Subscript (text below the line).

x<sup>2</sup>

Strikethrough text (shows as deleted).

<del>Deleted text</del>

Underlined text (indicates inserted content).

Abbreviation; shows full form on hover.

Monospaced font for code snippets.

Preserves spacing and line breaks; monospaced font.

Represents keyboard input in monospace.

Sample output text from a program.

Represents a variable (italic by default).

Block-level quote with indentation.

Short inline quote (adds quotation marks automatically).

Last updated