HTML QUOTATION & CITATION ELEMENTS 



HTML Quotation Element क्या है?

जब हम किसी भी Paragraph को Starting से Start नही करके आगे से Start करते है उसे ही हम Quotation कहते है। 


HTML Quotation के प्रकार :

HTML Quotation के निम्न लिखित Types हैं :

  1. <blockquote>
  2. <q>
  3. <abbr>
  4. <address>
  5. <cite>
  6. <bdo>

HTML <blockquote> कोटेशन के लिए :

HTML blockquote किसी long Quote के section को specify  करता है, जो यह बताता है कि यह Quote किसी दूसरे Source से लिया गया है और इसमें एक Attribute होता है cite, जो यह Specify करता है कि Quote का Source कहा से हैं।

उदाहरण :

<!DOCTYPE html>

<html>

     <body>

          <p>Browsers usually indent blockquote elements.</p>

          <blockquote cite="http://www.worldwildlife.org/who/index.html">

                 For nearly 60 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by more than one million members in the United States and close to five million globally.

          </blockquote>

    </body>

</html>

OUTPUT :

Browsers usually indent blockquote elements.

For nearly 60 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by more than one million members in the United States and close to five million globally.


HTML <q> Short कोटेशन के लिए :

HTML में q टैग का उपयोग Short कोटशन के लिए किया जाता हैं। 

Browser Automatically जहाँ से q टैग Start होता है और End होता है उनके बिच के Text में Quote Marks (" ") लगा देता हैं। 

उदाहरण :

<!DOCTYPE html>

<html>

      <body>

            <p>Browsers usually insert quotation marks around the q element.</p>

            <p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q></p>

      </body>

</html>

OUTPUT :

Browsers usually insert quotation marks around the q element.

WWF's goal is to: Build a future where people live in harmony with nature.


संक्षिप्त नाम के लिए HTML <abbr> :

HTML में Abbreviations को <abbr> से Define किया जाता हैं। इसके जरिये आप Paragraph या Button और Other चीजों की Useful Information को Abbreviation करके Browser में दिखा सकते हैं। 

HTML <abbr> टैग "HTML", "CSS", "Mr.", "Dr.", "ASAP", "ATM" जैसे किसी संक्षिप्त या संक्षिप्त नाम को परिभाषित करता है।

उदाहरण :

<!DOCTYPE html>

<html>

      <body>

            <p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>

            <p>Marking up abbreviations can give useful information to browsers, translation systems and search-engines.</p>

      </body>

</html>

OUTPUT :

The WHO was founded in 1948.

Marking up abbreviations can give useful information to browsers, translation systems and search-engines.


HTML <address> संपर्क जानकारी के लिए :

इस <address>  Tag का उपयोग किसी Content या Article के Author का Contact Information Provide करने के लिए उपयोग किया जाता हैं। 

उदाहरण :

<!DOCTYPE html>

<html>

      <body>

            <p>The HTML address element defines contact information (author/owner) of a document or article.</p>

            <address>

              Written by John Doe.<br> 

              Visit us at:<br>

              Example.com<br>

              Box 564, Disneyland<br>

              USA

           </address>

      </body>

</html>

OUTPUT :

The HTML address element defines contact information (author/owner) of a document or article.

Written by John Doe.
Visit us at:
Example.com
Box 564, Disneyland
USA

HTML <cite> Work Title के लिए:

HTML <cite> Tag एक रचनात्मक कार्य के शीर्षक को परिभाषित करता है (जैसे एक पुस्तक, एक कविता, एक गीत, एक फिल्म, एक पेंटिंग, एक मूर्तिकला, आदि)।

एक व्यक्ति का नाम किसी Work का Title नहीं है।

<cite> Element का Text आमतौर पर Italic में प्रस्तुत होता है।

उदाहरण :

<!DOCTYPE html>

<html>

      <body>

            <p>The HTML cite element defines the title of a work.</p>

            <p>Browsers usually display cite elements in italic.</p>

            <img src="img_the_scream.jpg" width="220" height="277" alt="The Scream">

            <p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p>

      </body>

</html>

OUTPUT :

The HTML cite element defines the title of a work.

Browsers usually display cite elements in italic.

The Self Portrait

The Self Portrait by Vincent Van Gogh. Painted in 1889.


HTML <bdo> Bi-Directional Override के लिए :

HTML <bdo> Tag का उपयोग Current Text Direction को Override करने के लिए किया जाता है। 

आप इसे निचे दिए गए Example से समझ सकते हैं। 

उदाहरण :

<!DOCTYPE html>

<html>

      <body>

            <p>If your browser supports bi-directional override (bdo), the next line will be written from right to left (rtl):</p>

            <bdo dir="rtl">This line will be written from right to left</bdo>

      </body>

</html>

OUTPUT :

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

This line will be written from right to left