HTML 
Text Formatting
❮ PreviousNext ❯
HTML contains several elements for defining text with a special
meaning.
Example
This text is bold
This text is italic
This is subscript and superscript
Try it Yourself »
HTML Formatting Elements
Formatting elements were designed to display special types of text:
        <b> - Bold text
        <strong> - Important text
        <i> - Italic text
        <em> - Emphasized text
        <mark> - Marked text
        <small> - Smaller text
        <del> - Deleted text
        <ins> - Inserted text
        <sub> - Subscript text
        <sup> - Superscript text
HTML <b> and <strong> Elements
The HTML <b> element defines bold text, without any extra importance.
Example
<b>This text is bold</b>
Try it Yourself »
The HTML <strong> element defines text with strong importance. The
content inside is typically displayed in bold.
Example
<strong>This text is important!</strong>
Try it Yourself »