HTML-FORMATTING

HTML Formatting is a process of formatting text for better look and feel. There are many formatting tags in HTML.text bold, italicized, or underlined, There are many option available to formatting the text .

Bold Text

Anything that appears within <b>...</b> element, is displayed in bold

Example :-

Result :-

This is a bold text

Italic Text

Anything that appears within <i>...</i> element, is displayed in Italic latter

Example :-

Result :-

This is a Italic text

Underlined Text

Anything that appears within <u>...</u> element, is displayed in Underline on selected text

Example :-

Result :-

This is a Underline text

Strike Text

Anything that appears within <strike>...</strike> element, is displayed with Strikethrough

Example :-

Result :-

This is a strike text

Monospaced Font

Anything that appears within <tt>...</tt> element, is displayed in bold

Example :-

Result :-

This is a Monospaced text

Superscript Text

Anything that appears within <sup>...</sup> element, is written in superscript; the font size used is the same size as the characters surrounding it but is displayed half a character's height above the other characters

Example :-

Result :-

This is a Superscript text

Subscript Text

Anything that appears within <sub>...</sub> element, is shown in subscript ; means it is displayed half a character's height below the other characters.

Example :-

Result :-

This is a Subscript text

Deleted Text

Anything that appears within <del>...</del> element, is display as deleted text.

Example :-

Result :-

This is a Deleted text

Inserted Text

Anything that appears within <ins>...</ins> element, is displayed as inserted text

Example :-

Result :-

This is a Inserted text

Larger Text

If you want to put your font size larger than the rest of the text then put the content within <big>...</big> It increase one font size larger than the previous one.

Example :-

Result :-

This is a Larger text

Smaller Text

If you want to put your font size larger than the rest of the text then put the content within <small>...</small> It reduce one font size than the previous one.

Example :-

Result :-

This is a Smaller text