HTML contains several elements for defining text with a special meaning.
<b>This text is bold</b> <i>This text is italic</i> <p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
This text is bold
This text is italic
This is subscript and superscript
<b>
- Bold text<strong>
- Important text<i>
- Italic text<em>
- Emphasized text<mark>
- Marked text<small>
- Smaller text<del>
- <ins>
- Inserted text<sub>
- Subscript text<sup>
- Superscript textThe HTML element defines text with strong importance. The content inside is typically displayed in bold.
<p>normal text <b>Bold Text</b></p> <p>normal text <strong>Strong Text</strong></p>
normal text Bold Text
normal text Strong Text
The HTML element defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic.
The HTML element defines emphasized text. The content inside is typically displayed in italic.
<i>Italic text</i> <em>Empathised Text</em>
Italic text Empathised Text
The HTML element defines smaller text:
<p> Normal Text in Paragraph <small>This is some smaller text.</small> </p>
Normal Text in Paragraph This is some smaller text.