HTML Quotations aur Citation Tags Kya Hote Hain?
Apne Content ko Sahi Context aur Meaning Dena Sikhein
Quotation Tags ka Introduction
HTML me quotation aur citation tags ka use tab hota hai jab hume kisi doosre source se li gayi information, jaise quotes, book titles, ya abbreviations, ko apne content me dikhana hota hai. Yeh tags na sirf content ko style karte hain, balki use semantic meaning bhi dete hain, jo SEO aur accessibility ke liye bohot important hai.
1. Long Quotations ke liye (<blockquote>
)
Jab aapko ek lamba quote (jo kai lines ka ho) kisi doosre source se dikhana ho, tab <blockquote>
tag ka use hota hai. Browsers aam taur par iske content ko indent (thoda aage se) karke dikhate hain.
<blockquote>
<p>"Success is not final, failure is not fatal: it is the courage to continue that counts."</p>
</blockquote>
"Success is not final, failure is not fatal: it is the courage to continue that counts."
2. Short Quotations ke liye (<q>
)
Chhote, inline quotations ke liye <q>
tag ka use hota hai. Browser iske content ke aas-paas automatically double quotation marks (" ") add kar deta hai.
<p>Winston Churchill ne kaha, <q>Success is a journey, not a destination.</q></p>
Winston Churchill ne kaha, Success is a journey, not a destination.
3. Abbreviations ke liye (<abbr>
)
<abbr>
tag ka use abbreviations ya acronyms (jaise HTML, WHO) ko define karne ke liye hota hai. Iske title
attribute me aap full form provide kar sakte hain, jo user ke hover karne par dikhta hai.
<p>Hum <abbr title="HyperText Markup Language">HTML</abbr> seekh rahe hain.</p>
Hum HTML seekh rahe hain.
4. Work Titles ke liye (<cite>
)
<cite>
tag ka use kisi creative work (jaise book, movie, song, ya painting) ke title ko define karne ke liye hota hai. Browsers ise aam taur par italic me dikhate hain.
<p>My favorite book is <cite>The Alchemist</cite>.</p>
My favorite book is The Alchemist.
5. Contact Information ke liye (<address>
)
<address>
tag kisi document ya article ke author/owner ki contact information provide karta hai. Isme email, physical address, ya social media links ho sakte hain.
<address>
Written by Sandeep.<br>
Visit us at: example.com<br>
India
</address>
Visit us at: example.com
India
6. Bi-Directional Override (<bdo>
)
<bdo>
tag ka use text ki default direction (left-to-right) ko override karne ke liye hota hai. Yeh right-to-left languages (jaise Arabic ya Hebrew) ke liye use ho sakta hai.
<p>This will be written from <bdo dir="rtl">right to left</bdo>.</p>
This will be written from right to left.
Key Takeaways
<blockquote>
ka use long, block-level quotations ke liye karein.<q>
ka use short, inline quotations ke liye karein.<abbr>
ka use abbreviations aur unke full forms batane ke liye karein.<cite>
ka use creative works ke titles ke liye hota hai.<address>
author ki contact info ke liye use hota hai.
Apne favorite author ka ek quote <blockquote>
me likhein aur unki book ka naam <cite>
me mention karein.
Apni knowledge test karne ke liye is quick quiz ko dein.
Start Quiz