Examples for business, study, careers, love, and more...
Examples :: HTML :: Example of HTML, Examples of Formatting Text in HTML, HTML Text Formatting Tags Examples

Basic Html Text Formatting Examples on this page.

 

Examples of HTML Text Formatting

This text is strong

This text is big

This text is emphasized

This text is italic

This text is small

This is subscript and superscript



Examples of HTML Preformatted Text

This is an example of
preformatted text.
It displays      both spaces
and line breaks.

The pre tag is good for writing computer code:

for i = 0 to 10
     display i
next i

Examples of HTML Text Direction

If your browser supports bi-directional override (bdo), the next sentence will be written from the right to the left (rtl):

Here is some text


Examples of HTML Long and Short Quotations.

A long sentence:
This is a long sentence. This is a long sentence. This is a long sentence. This is a long sentence. This is a long sentence.

Note: The browser put white space before and after a blockquote element. It also insert margins.

A short sentence: This is a short sentence

Notice that the browser adds quotation marks around the short quotation (Not work in IE).


Examples of HTML Deleted and Inserted Text.

My favorite color is red yellow!

Browsers will strikethrough removed text and underline added text.