HTML mein, quotations ka use tab hota hai jab hume kisi ka quoted text, kisi ka reference, ya kisi ka dialogue show karna hota hai. HTML mein quotations ko <blockquote>, <q>, aur <cite> tags ka use karke likha jata hai. Chaliye in tags ko detail mein samajhte hain.
1. <blockquote> Tag :
Jab hume kisi long quotation ko show karna hota hai, tab <blockquote> tag ka use kiya jata hai. Yeh tag content ko indented format mein dikhata hai, jisse clear pata chalta hai ki ye ek quoted text hai.
<blockquote> “Success is not final, failure is not fatal: it is the courage to continue that counts.” – Winston Churchill </blockquote>
Explanation:
- <blockquote> tag ka use long quotations ke liye hota hai.
- Iska content indent hota hai, jo is baat ko dikhata hai ki yeh ek quoted text hai.
2. <q> Tag :
Jab hume short quotations likhni hoti hain, tab <q> tag ka use hota hai. Yeh tag automatically double quotation marks (“”) add kar deta hai.
<p>Winston Churchill ne kaha tha: <q>Success is not final, failure is not fatal.</q></p>
Explanation:
- <q> tag automatically text ke around double quotes (“”) laga deta hai.
- Iska use short quotations ke liye hota hai.
3. <cite> Tag :
Jab hume kisi book, article, movie ya website ka naam likhna ho, tab <cite> tag ka use hota hai. Yeh text ko italic style mein dikhata hai.
<p>One of the best books I have read is <cite>The Alchemist</cite> by Paulo Coelho.</p>
Explanation:
- <cite> tag kisi book, article, ya movie ke naam ko highlight karta hai.
- Yeh text ko italic format mein show karta hai.
4. <abbr> Tag :
Jab hume kisi short form ya abbreviation ka full meaning batana ho, tab <abbr> tag ka use hota hai.
<p>The <abbr title=”World Health Organization”>WHO</abbr> is responsible for international public health.</p>
Explanation:
- <abbr> tag ka use kisi abbreviation ka full form dikhane ke liye hota hai.
- Jab user hover karega, to full form dikhai degi.
HTML mein quotations ke liye alag-alag tags ka use hota hai:
<blockquote> – Long quotations ke liye.
<q> – Short quotations ke liye.
<cite> – Book, article, ya movie ke naam ke liye.
<abbr> – Short forms ke liye.
In tags ka use karke aap apne HTML documents ko aur professional aur readable bana sakte hain.
Quiz: Test Your Knowledge on HTML Quotations
Bonus: Practical Application!
Try Using HTML Quotation Tags in Your Webpage Today!
Choose tags like <blockquote>
, <q>
, <cite>
, and <abbr>
, and structure your content for better readability.