SA-21/06, C-11, Asapur, Varanasi, UP support@kamaldnp.com +91 8318013442
HTML
1. HTML Introduction: What is HTML? Learn with Examples 2. Best Free HTML Editors: Notepad to VS Code for Beginners 3. HTML Basic Structure: Doctype, Head, Body Explained 4. HTML Elements Explained: Tags, Content & Empty Elements 5. HTML Attributes List: href, src, alt, width, title & More 6. HTML Headings h1 to h6: Which Heading Tag to Use When 7. HTML Paragraphs: p Tag, br Line Breaks & pre Text 8. HTML Style Attribute: Colour, Font Size & Alignment 9. HTML Text Formatting Tags: bold, italic, mark & More 10. HTML Comments: How to Add Notes & Hide Code in HTML 11. HTML Colors: Names, HEX, RGB & HSL Colour Codes 12. HTML CSS: Inline, Internal & External Stylesheets 13. HTML Links: a Tag, href, New Tab & Email Links 14. HTML Images: img Tag, src, alt, Width & Formats 15. HTML Favicon: Create & Add a Browser Tab Icon 16. HTML Title Tag: How to Write a Good Page Title 17. HTML Tables: table, tr, th, td, colspan & rowspan 18. HTML Lists: ul, ol, dl & Nested Lists Explained 19. HTML Block vs Inline Elements: div, p, span Explained 20. HTML Div Tag: Group Content & Build Page Layouts 21. HTML Class Attribute: Style Many Elements at Once 22. HTML id Attribute: Unique IDs, Links, CSS & JavaScript 23. HTML Iframes: Embed YouTube, Maps & Pages in HTML 24. HTML JavaScript: script Tag, Clicks & First Example 25. HTML File Paths: Relative vs Absolute Paths Explained 26. HTML Head Element: title, meta, charset & viewport 27. HTML Layout: header, nav, main, footer Page Structure 28. HTML Responsive Design: Viewport, Images & Media Queries 29. Semantic HTML Tags: header, nav, main, article & footer 30. HTML Forms: input, label, select, checkbox & Submit 31. HTML Entities: & < > © with Examples 32. HTML Audio & Video Tags: controls, source & Fallback 33. HTML Accessibility: alt Text, Labels, Landmarks & ARIA 34. HTML Meta Tags & SEO: charset, viewport, OG Tags 35. HTML Quotations: blockquote, q, cite, abbr & address
Final Test — Certificate ₹10
Try this code live
Lesson 35 of 35

HTML Quotations: blockquote, q, cite, abbr & address

3 min read · Free · No login needed

When you quote someone on a web page, do not just type quotation marks by hand. HTML has tags that say this is a quote, this is a long quote, and this is the title of a work. The browser adds the right formatting, search engines understand the meaning, and screen readers announce it properly. Typed quote marks are just punctuation — quotation tags are meaning.

Diagram — see how it fits together
Infographic: short quotes, long quotes and citations

Short quotes, long quotes, and citations

TagUse it forWhat the browser does
<q>A short quote inside a sentenceAdds quotation marks around the text automatically.
<blockquote>A long quote, standing on its ownShows it as its own indented block. Takes a cite attribute with the source URL.
<cite>The title of a work — a book, a film, a courseShows it in italics. It is for titles, not for people's names.
<abbr>An abbreviation, with its full form in titleShows a dotted underline; hovering reveals the full form.
<address>Contact information for the page's author or ownerShows it in italics, usually at the bottom of the page.

The difference that matters most

<q> is for a quote inside your own sentence: "As Kalam said, <q>Dream is not that which you see while sleeping</q>." <blockquote> is for a quote that deserves its own paragraph — a full passage, a testimonial, a verse. And <cite> is not a person's name: it is the title of the work you are quoting from, like <cite>Wings of Fire</cite>. Mixing these up is the most common mistake in this lesson — a person's name goes in plain text, the book title goes in <cite>.

Note: The cite attribute on <blockquote> holds the source URL, but browsers do not display it — it is there for machines and for anyone reading the code. If your visitors should see the source, write it as visible text under the quote as well.
Tip: Do not use <blockquote> just to indent a paragraph. It means "this is a quotation" — using it for indentation tells Google and screen readers something false about your content. For indentation, use CSS margin.

Common mistakes

  • Typing quotation marks by hand instead of using <q> — the browser cannot tell it is a quote.
  • Using <blockquote> to indent ordinary text — it means quotation, not indentation.
  • Putting a person's name in <cite> — cite is for the title of a work, not the author.
  • Forgetting the title on <abbr> — without it, the abbreviation explains nothing.

Example explained

  • <q>Dream is not that which you see while sleeping</q> — a short quote inside a sentence. The browser adds the quotation marks itself.
  • <blockquote cite="https://example.com/speech"> — a long quote as its own block, with the source URL in the cite attribute.
  • <cite>Wings of Fire</cite> — the title of the book being quoted, shown in italics.
  • <abbr title="KAMALDNP Academy">KAMALDNP</abbr> — the abbreviation, with its full form revealed on hover.
  • <address> — the contact block at the bottom: who to write to, and where.

Example

Example
<!DOCTYPE html>
<html>
<head>
<title>Quotations</title>
</head>
<body>

<h1>Words Worth Quoting</h1>
<p>As Kalam said, <q>Dream is not that which you see while sleeping; it is something that does not let you sleep.</q></p>
<blockquote cite="https://example.com/speech">
<p>Learning gives creativity, creativity leads to thinking, thinking provides knowledge, and knowledge makes you great.</p>
</blockquote>
<p>From the book <cite>Wings of Fire</cite>, by A. P. J. Abdul Kalam.</p>
<p>Join <abbr title="KAMALDNP Academy">KAMALDNP</abbr> in Varanasi to learn web development.</p>
<address>
Written by Raj Kamal.<br>
Visit us at kamaldnp.com<br>
Varanasi, Uttar Pradesh
</address>

</body>
</html>

Output

Output — how it looks in the browser
Output of HTML Quotations: blockquote, q, cite, abbr & address

Try it yourself — live editor

Change the code below and press Run to see the result instantly. No file to save, no login needed.

Result

Frequently asked questions

The questions learners ask most about this lesson — read the question, then open it to see the answer.

1. When should you use q instead of blockquote?

Use q for a short quote inside your own sentence, and blockquote for a long quote that stands on its own as a block.

2. What is cite for?

Cite is for the title of a work, such as a book, film or course, shown in italics, not for a person's name.

3. What does abbr do?

It marks an abbreviation with its full form in the title, showing a dotted underline, with the full form revealed on hover.

Why learn this yourself — and not just ask AI?

AI can write code for you, but it cannot think for you. When you learn HTML yourself, your brain builds the real skill: you understand why a page looks the way it does, you can fix it when it breaks, and you can answer it in an exam or an interview without help. That is the skill that gets you a job — not a copied answer.

Get certified — just ₹10

Finish all 35 lessons, pass the test (80%), pay ₹10 and get your certificate.

Take the test

Prefer watching? Video courses teach the same topics step by step.

Go further with a full course

Free tutorials teach you the basics. Our paid courses add live projects, mentorship and a certificate.

Website Design & Development Workshop 2026
₹299
View
Summer Training in Python Programming 2026
₹3,000
View
CapCut Mobile Video Editing Course Beginner to Advance
₹99
View
Browse all courses
HTML — Lessons
1. HTML Introduction: What is HTML? Learn with Examples 2. Best Free HTML Editors: Notepad to VS Code for Beginners 3. HTML Basic Structure: Doctype, Head, Body Explained 4. HTML Elements Explained: Tags, Content & Empty Elements 5. HTML Attributes List: href, src, alt, width, title & More 6. HTML Headings h1 to h6: Which Heading Tag to Use When 7. HTML Paragraphs: p Tag, br Line Breaks & pre Text 8. HTML Style Attribute: Colour, Font Size & Alignment 9. HTML Text Formatting Tags: bold, italic, mark & More 10. HTML Comments: How to Add Notes & Hide Code in HTML 11. HTML Colors: Names, HEX, RGB & HSL Colour Codes 12. HTML CSS: Inline, Internal & External Stylesheets 13. HTML Links: a Tag, href, New Tab & Email Links 14. HTML Images: img Tag, src, alt, Width & Formats 15. HTML Favicon: Create & Add a Browser Tab Icon 16. HTML Title Tag: How to Write a Good Page Title 17. HTML Tables: table, tr, th, td, colspan & rowspan 18. HTML Lists: ul, ol, dl & Nested Lists Explained 19. HTML Block vs Inline Elements: div, p, span Explained 20. HTML Div Tag: Group Content & Build Page Layouts 21. HTML Class Attribute: Style Many Elements at Once 22. HTML id Attribute: Unique IDs, Links, CSS & JavaScript 23. HTML Iframes: Embed YouTube, Maps & Pages in HTML 24. HTML JavaScript: script Tag, Clicks & First Example 25. HTML File Paths: Relative vs Absolute Paths Explained 26. HTML Head Element: title, meta, charset & viewport 27. HTML Layout: header, nav, main, footer Page Structure 28. HTML Responsive Design: Viewport, Images & Media Queries 29. Semantic HTML Tags: header, nav, main, article & footer 30. HTML Forms: input, label, select, checkbox & Submit 31. HTML Entities: & < > © with Examples 32. HTML Audio & Video Tags: controls, source & Fallback 33. HTML Accessibility: alt Text, Labels, Landmarks & ARIA 34. HTML Meta Tags & SEO: charset, viewport, OG Tags 35. HTML Quotations: blockquote, q, cite, abbr & address
Final Test — Certificate ₹10

🤖 KAMALDNP AI Assistant

Ask about courses, website & more

Hi! I'm KAMALDNP AI Assistant. Ask me about our courses, website features, or anything else! 😊
Please wait 5s...
🛡️ 7-Day Money-Back Guarantee
🤖 KAMALDNP Assistant ✕

Request human callback:

🔐 Login Required
✕

Download karne ke liye login karo. Login ke baad yahi page pe rahoge!

Naya ho? Register karo →