Use of HTML Quotation, Blockquote and Cite.

Unknown
0

1. Quotation

            In HTML for quotation mark you need to use <q>--</q> tag. The browser can understand the meaning of  <q> tag.

Syantax: 

<q> Sentence for quotation </q>

Example:

<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> HTML Quotation</TITLE>
<HEAD>
<BODY>


    <H1> Example of HTML quotation mark</H1>

    <H2><p><q>A complete tutorial of HTML with htmlrun.com</q>

    </p></H2>

</BODY>
</HTML>



Output:




html quotation mark tag
quotation mark tag

2. Blockquote.

        In HTML for blockquote you have to use <blockquote> tag. To make a block of any paragraph with just like a justify alignment in word.

Syntax:

<blockquote> Large number of sentences </blockquote>

Example:

<!DOCTYPE HTML>
<HTML>
<HEAD>
    <TITLE> HTML BLOCKQUOTE</TITLE>
</HEAD>
<BODY>
<H1>Example of Blockquote</H1>

<BLOCKQUOTE>
A www.htmlrun.com is a HTML tutorial website and
a blog. Using HTML tutorial you can learn the HTML
and using blog you will be always up to date with HTML
with some new tags.
</BLOCKQUOTE>

<BLOCKQUOTE>
A www.htmlrun.com is a HTML tutorial website and
a blog. Using HTML tutorial you can learn the HTML
and using blog you will be always up to date with HTML
with some new tags.and using blog you will be always up to date with HTML
with some new tags.
</BLOCKQUOTE>
</BODY>
</HTML>


Note: For proper output purpose I copied the single sentence multiple times but i removed it now.

Output:



html blockquote tag
blockquote tag



3. Cite.


       In HTML to use Citation Element  you have to use <cite> tag. Using this tag you can easily add citation in paragraph or anywhere you want.



Syntax:

<cite> Word or Sentence for citation </cite>


Example:

<!DOCTYPE HTML>
<HTML>
<HEAD>
    <TITLE> HTML CITE </TITLE>
<HEAD>
<BODY>

<H1> HTML CITE</H1>
<H2>
<CITE>www.htmlrun.com</CITE> HTML Tutorials and blog.
</H2>
</BODY>
</HTML>

Output:

html citation element
Citation tag








Post a Comment

0Comments
Post a Comment (0)