HTML Text Formatting


HTML HTML Text Formatting Text Formats

Bold Text:-

Defines bold Text.

<b>This is bold text</b>

The opening Tag is <b> and closing Tag is </b>

Output

This is bold text

Italic Text:-

Defines italic Text.

<i>This is italic text</i>

The opening Tag is <i> and closing Tag is </i>

Output

This is italic text

Smaller Text:-

Defines smaller Text.

<small>This is smaller text</small>

The opening Tag is <small> and closing Tag is </small>

Output

This is smaller text

Strong Text:-

Defines important Text.

<strong>This is strong text.</strong>

The opening Tag is <strong> and closing Tag is </strong>

Output

This is strong text

Subscripted Text:-

Defines Subscripted Text.

This is <sub>Subscripted</sub> text.

The opening Tag is <sub> and closing Tag is </sub>

Output

This is Subscripted text.

Superscripted Text:-

Defines Superscripted Text.

This is <sup>Superscripted</sup> text.

The opening Tag is <sup> and closing Tag is </sup>

Output

This is Subscripted text.

Emphasized Text:-

Defines emphasized Text.

<em>This is emphasized text.</em>

The opening Tag is <em> and closing Tag is </em>

Output

This is emphasized text.

Underlined Text:-

Defines underlined Text.

<u>This is underlined text.</u>

The opening Tag is <u> and closing Tag is </u>

Output

This is underlined text.

Deleted Text:-

Defines deleted or removed Text.

<del>This is deleted text.</del>

The opening Tag is <del> and closing Tag is </del>

Output

This is deleted text.

Marked/Highlighted Text:-

Defines marked or highlighted Text.

<mark>This is marked or highlighted text.</mark>

The opening Tag is <mark> and closing Tag is </mark>

Output

This is marked or highlighted text.
HTML Text Formats Chapter Next »