Phrase Tags

The phrase tags have been desicolgned for specific purposes, though they are displayed in a similar way as other basic tags like <b>, <i>,<pre>, and <tt>. This chapter will take you through all the important phrase tags, so let's we start seeing them one by one.

Emphasized Text

Anything that appears within <em>...</em> element, is displayed in Emphasized Text

Example :-

Result :-

This is a   Emphasized  text

Marked Text

Anything that appears within <mark>...</mark> element, is displayed in Marked with color text background

Example :-

Result :-

This is a marked text

Strong Text

Anything that appears within <strong>...</strong> element, is displayed in bold and important text

Example :-

Result :-

This is a Strong text

Text Abbreviation

if you want to abbreviate text then put in <abbr>...</abbr> If present, the title attribute must contain this full description and nothing else.

Example :-

Result :-

This is a Abbrevaition text

Special Terms

The <dfn>...</dfn> allows you to specify that you are introducing a special term. It's usage is similar to italic words in the midst of a paragraph.

Example :-

Result :-

This is a Special Terms

Short Quotations

If you want to use double quote within a sentence then use the <q>...</q> . it was create the double quate on the sentence

Example :-

Result :-

This is a Short Quotations text

Address Text

The address phase <address>...</address> element, use to contain the address

Example :-

Result :-
SS121 , street 23 , new Delhi