HTML Formatting Tags


Bold tag <b> </b>

The HTML <b> tag make the text bold.

Example
<b>Bold Text</b>

Output:

Bold Text

Italic tag <i> </i>

The HTML <i> tag make the text italic.

Example
<i>Italic Text</i>

Output:

Italic Text

Underline tag <u> </u>

The HTML <u> tag make the underlined text.

Example
<u>Underlined Text</u>

Output:

Underlined Text

Strike tag <s> </s>

The HTML <s> tag make the strike text.

Example
<s>Strike Through Text</s>

Output:

Strike Through Text

Subscript tag <sub> </sub>

The HTML <sub> tag make the subscripted (base) text.

Example
H<sub>2</sub>O

Output:

H2O

Superscript tag <super> </super>

The HTML <super> tag make the superscripted (power) text.

Example
X<sup>2</sup>Y<sup>2</sup>=Z

Output:

X2+Y2=Z

Mark tag <mark> </mark>

The HTML <mark> tag make marked or highlighted text.

Example
This is a <mark>highlighted</mark> text.

Output:

This is a highlighted text.

Small tag <small> </small>

The HTML <small> tag make the smaller text.

Example
This is a <small>smaller</small> text.

Output:

This is a smaller text.

kbd tag <kbd> </kbd>

The HTML <kbd> tag define keyboard input.

Example
Press <kbd>Ctrl</kbd> + <kbd>S</kbd> to save text.

Output:

Press Ctrl + S to save text.

q (Quotation) tag <q> </q>

The HTML <kbd> tag define a quoted text.

Example
Proverb - <q>Short cuts make long delays.</q>

Output:

Proverb - Short cuts make long delays.

abbr tag <abbr> </abbr>

The HTML <abbr> tag defines an abbreviation or an acronym, like "HTML".

Example
This is a simple <abbr title="Hyper Text Markup Language">HTML</abbr> example.

Output:

This is a simple HTML example.