* Note: Some syntaxes used here are already deprecated, do not use them in actual production sites.
Bold: bold text using <b>.
Strong: important text using <strong>.
Code (ready to copy-paste):
<b>bold text</b>
<strong>important text</strong>
Italic: italic text using <i>.
Emphasized: emphasized text using <em>.
Code (ready to copy-paste):
<i>italic text</i>
<em>emphasized text</em>
Underlined: underlined text using <u>.
Strikethrough: strikethrough text using <s>.
Sample, pricing discount: $99 $49 using <del> and <ins>.
Code (ready to copy-paste):
<u>underlined text</u>
<s>strikethrough text</s>
<del>$99</del> <ins>$49</ins>
Water formula: H2O using <sub>.
Math equation: E = mc2 using <sup>.
Code (ready to copy-paste):
H<sub>2</sub>O
E = mc<sup>2</sup>
Highlighted: highlighted text using <mark>.
Small: smaller text using <small>.
Code (ready to copy-paste):
<mark>highlighted text</mark>
<small>smaller text</small>
Inline programming code: let x = 10; using <code>.
Keyboard shortcut sample: Press Cmd + C to copy using <kbd>.
Code (ready to copy-paste):
<code>let x = 10;</code>
<kbd>Cmd</kbd> + <kbd>C</kbd>
This is red text in monospace font (Deprecated syntax).
Code (ready to copy-paste):
<font color="red" size="4" face="monospace">This is red text in monospace font (Deprecated syntax).</font>