elibraryportal Logo

HTML Formating

HTML Formating is used better look and fee for text.There are many formatting tags in HTML like that in table.

Element name Description
<b> For bold the text .
<strong> For bold the text.
<i> For Text italic.
<em> Full name is emphasized . For Text italic.
<mark> For Text Highlight .
<u> For Text Underline.
<sup> It displays above the normal line. eg. X2
<sub> It displays below the normal line.eg. X2
<del> For Deleted (removed) text..
<ins> For inserted (added) text.
<big> For increase the Tex font size .
<small> For decrease the Tex font size..

1) Bold Text and Strong Text

<b> and <strong> Tag are use the same work ,for Text Dsiplay bold .

Syntax.

Example.

Output:-

Bold Text and Strong Text Example

2) Italic Text

<i> and <em> Both tag are used for Display Italic Text.

Syntax.

Example.

Output:-

Italic Text Example in Html

3) HTML Marked Tag

Mark Tag <mark> is use for Highlight Text.

Syntax.

Example.

Output:-

Mark Tag Example in Html

4) HTML Underlined Tag(u)

<u> Tag is used for show underlined ther text.

Syntax.

Example.

Output:-

Underline Tag Example in Html

5) HTML Superscript Tag (<sup>)

Superscript <sup> tag is used to display Square the character or number.

Syntax.

Example.

Output:-

super script Tag Example in Html

Where <br> is line break tag.

6) HTML Subscript Tag (<sub>)

Subscript (<sub>) Tag is used to below half a character's height.

Syntax.

Example.

Output:-

sub script Tag Example in Html

7) HTML Deleted Tag (<del>)

Deleted Tag (<del>) is used to delete or remove the text.

Syntax.

Example.

Output:-

Delete Tag Example in Html

8) HTML Insert Tag (<ins>)

Insert Tag (<ins>) is used to inserted text a Paragraph.

Syntax.

Example.

Output:-

Insert Tag Example in Html

9) HTML Big Tag (<big>) and Small Tag(<small>)

The big tag (<big>) is used to display Large text.

The small tag (<small>) is used to display small text.

Syntax.

Example.

Output:-

big & Small Tag Example in Html
Next TopicMarquee HTML