HTML Quotation

    1100547 VIEW 1 0

The Quotation elements in HTML are used to insert quoted texts in a web page, that is, portion of texts different from the normal texts in the web page.

Below are some of the most used quotation elements of HTML:

<q> element:  The <q> element is used to set a set of text inside the quotation marks. It has both opening and closing tags.
Example:


<p>Tag Line of Hyper  is : <q>Excellence is not a skill, its an attitude.</q></p>

OUTPUT

<blockquote> element:
The <blockquote> element is also used for quotations in a different way. Instead of putting the text in quotes, it changes the alignment to make it unique from others. It has both opening and closing tags.


<p>Here is a quote from WWF's website:</p>

<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature.
The world's leading conservation organization
</blockquote>

OUTPUT

HTML Quotation and Citation Elements

Tag Description
<abbr> Defines an abbreviation or acronym
<address> Defines contact information for the author/owner of a document
<bdo> Defines the text direction
<blockquote> Defines a section that is quoted from another source
<cite> Defines the title of a work
<q> Defines a short inline quotation