View video tutorial

HTML Formatting Tags

HTML

Formatting Tags are used to format text in many ways, such as <b> for bold, <i>for italic, <mark> for mark etc.

Formatting text


<b> to Bold text

<big> to Bigger text

<del> to Delete text

<em> to Emphasize text

<i> to Italic text

<ins> to Insert text

<mark> to Mark text

<small> to Small text

<strong> to Strong text

<sub> to subscript text

<sup> to superscript text

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<b>Bold Text</b>
Try it Now »

Click on the "See output" button to see how it works.


Example

<big>Big Text</big>
Try it Now »

Click on the "See output" button to see how it works.


Example

<del>Del Text</del>
Try it Now »

Click on the "See output" button to see how it works.


Example

<em>Emphasize Text</em>
Try it Now »

Click on the "See output" button to see how it works.


Example

<i>Italic Text</i>
Try it Now »

Click on the "See output" button to see how it works.


Example

<ins>Inserted Text</ins>
Try it Now »

Click on the "See output" button to see how it works.


Example

<mark>Mark Text</mark>
Try it Now »

Click on the "See output" button to see how it works.


Example

<small>Small Text</small>
Try it Now »

Click on the "See output" button to see how it works.


Example

<strong>Strong Text</strong>
Try it Now »

Click on the "See output" button to see how it works.


Example

Text<sub>subscripted</sub> Text
Try it Now »

Click on the "See output" button to see how it works.


Example

Text<sup>superscripted</sup>Text
Try it Now »

Click on the "See output" button to see how it works.


Example

<!DOCTYPE html>
<html>
<head>
    <title>HTML Formatting Example</title>
</head>
<body>
    <!--Example: Formatting-->
    <h1>Formatting Example</h1>
    <p>Normal Text</p>
    <p><b>Bold Text</b></p>
    <p><i>Italic Text</i></p>
    <p><strong>Strong Text</strong></p>
    <p><em>Emphasize Text</em></p>
    <p><mark>Mark Text</mark></p>
    <p><small>Small Text</small></p>
    <p><big>Big Text</big></p>
    <p>Text<sub>subscripted</sub> </p>
    <p>Text<sup>superscripted</sup>Text</p>
    <p><del>Del Text</del></p>
    <p><ins>Inserted Text</ins></p>
</body>
</html>
Try it Now »

Click on the "See output" button to see how it works.


HTML Tag Reference

This reference contains additional information about these tags and their usage.

Tag Name Description
<b> This defines bold text.
<big> This defines bigger text.
<del> This defines deleted text.
<em> This defines emphasized text.
<i> This defines italic text.
<ins> This defines inserted text.
<mark> This defines marked or highlighted text.
<small> This defines smaller text.
<strong> This defines important text.
<sub> This defines subscripted text.
<sup> This defines superscripted text.

Note: For a complete reference of all available HTML tags, visit HTML Tag Reference