-
Hajipur, Bihar, 844101
HTML provides special tags to quote text, cite sources, and indicate abbreviations or definitions. These tags give context and meaning to quoted or referenced content.
Tag | Purpose | Example Use |
---|---|---|
<blockquote> |
Displays a long quotation (block format) | Quoting a paragraph from a source |
<q> |
Short inline quotation | Quoting a few words in-line |
<cite> |
Cites a source (books, articles, websites) | Indicating where the quote came from |
<abbr> |
Defines an abbreviation | e.g., HTML, CSS |
<address> |
Provides contact information | Email, physical address, etc. |
<bdo> |
Overrides text direction | For right-to-left or left-to-right |
<blockquote>
– Block Quote<blockquote>
The journey of a thousand miles begins with one step.
</blockquote>
Displays the text indented on a new line.
<q>
– Inline Quote<p>He said, <q>Practice makes perfect.</q></p>
Adds quotes around the sentence automatically.
<cite>
– Citation<p><cite>The Great Gatsby</cite> by F. Scott Fitzgerald</p>
Usually shown in italic by default.
<abbr>
– Abbreviation<p><abbr title="HyperText Markup Language">HTML</abbr> is the standard language of the web.</p>
Displays a tooltip with the full form on hover.
<address>
– Contact Information<address>
Written by John Doe<br>
Visit us at: www.example.com<br>
Email: contact@example.com
</address>
Typically rendered in italic and new lines.
<bdo>
– Bi-directional Override<bdo dir="rtl">This text is right-to-left.</bdo>
Useful for displaying languages like Arabic or Hebrew.
Q1. Use <blockquote>
to quote a famous proverb.
Q2. Write a sentence with an inline quote using <q>
.
Q3. Cite the book "1984" by George Orwell using <cite>
.
Q4. Use <abbr>
to show the full form of HTML with a tooltip.
Q5. Provide your contact address using the <address>
tag.
Q6. Create a <bdo>
tag to display text from right to left.
Q7. Combine <q>
and <cite>
in one sentence.
Q8. Add an <abbr>
for "CSS" with its full form.
Q9. Format a paragraph that ends with a cited book title.
Q10. Use <address>
to show email and phone number of a person.
Q1: Which tag is used for a long quotation?
Q2: Which tag shows quotes inline inside a paragraph?
Q3: What does the <cite> tag represent?
Q4: Which tag is used for abbreviations with a tooltip?
Q5: What is the purpose of <address> tag?
Q6: What will this display '<abbr title="World Health Organization">WHO</abbr> '?
Q7: Which tag is used to override text direction?
Q8: What does <bdo dir="rtl"> do?
Q9: Which of the following tags is typically rendered in italics by default?
Q10: Which tag is best used for citing a book or article?