HTML Quotations

Beginner
9 min read
Updated: Nov 2026
6 examples
<blockquote> <q> <cite> <abbr>

Definition and Usage

HTML has dedicated elements for quotations, work titles, and abbreviations: <blockquote>, <q>, <cite>, and <abbr>. They tell browsers and assistive tech what the text means, not only how it looks.

What is blockquote?

<blockquote> marks a section quoted from another source. Browsers typically indent it. Add cite="https://..." when you have a source URL (the URL is not shown as visible text by default).

What is q?

<q> marks a short inline quotation. Browsers usually add quotation marks automatically.

What are cite and abbr?

<cite> marks the title of a creative work. <abbr> marks an abbreviation or acronym; use the title attribute for the expanded form (often shown on hover).

Semantics first.

Prefer these tags over plain indented paragraphs or manual quote characters alone—meaning travels with the markup.

cite attribute vs cite element.

Attribute = source URL on blockquote/q. Element = visible title of a work.

Do not fake quotes with CSS only.

Indentation without blockquote looks similar but loses machine-readable quote structure.

HTML Quotation Syntax

Core forms:

quote-tags.html
<blockquote cite="url"> … </blockquote>
HTML
<blockquote cite="https://example.com/source">
  <p>A longer quotation from another source.</p>
</blockquote>

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

<p><cite>The Scream</cite> by Edvard Munch.</p>

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

Core HTML Concepts

Tag roles at a glance:

ElementMeaningTypical look
<blockquote>Block quotation from another sourceIndented block
<q>Short inline quotationAuto quotation marks
<cite>Title of a creative workOften italic
<abbr>Abbreviation or acronymSometimes dotted underline

blockquote vs q

blockquoteq
LengthLonger / stand-aloneShort / inline
DisplayBlock (usually)Inline
MarksIndent, not auto quotesBrowser adds quotes

How to Use Quotation Elements

Choose the tag that matches the content.

  1. For a multi-sentence excerpt, wrap paragraphs in <blockquote>.
  2. Add cite="https://..." when the source URL is known.
  3. For a short phrase inside a sentence, use <q>.
  4. Mark book/film/article titles with <cite>.
  5. Wrap acronyms in <abbr title="Full Name">.
  6. Style appearance with CSS if you need custom quote design—keep the semantic tags.
GoalPattern
Pull quote<blockquote><p>…</p></blockquote>
Inline quote<q>…</q>
Work title<cite>The Scream</cite>
Acronym tip<abbr title="HyperText Markup Language">HTML</abbr>

Live Preview

Switch between quotation-related elements and compare rendering.

Browsers style these tags differently; meaning stays in the markup.

Rendered page

For 60 years, WWF has worked to help people and nature thrive.

<blockquote>
  <p>For 60 years, WWF has worked to help people and nature thrive.</p>
</blockquote>

HTML Examples

Six patterns: blockquote, cite attribute, q, cite element, abbr, and a complete page.

Example 1 — Block Quotation

HTML
<p>Here is a quote from WWF's website:</p>
<blockquote>
  <p>For 60 years, WWF has worked to help people and nature thrive.
  As the world's leading conservation organization, WWF works in nearly 100 countries.</p>
</blockquote>
Try It Yourself

How It Works

  1. blockquote wraps a quoted section.
  2. Nested p keeps paragraphs valid inside the quote.
  3. Default indent signals a quotation visually.
  4. Screen readers can announce it as a quote.

Example 2 — blockquote with cite Attribute

HTML
<blockquote cite="https://www.worldwildlife.org/">
  <p>At every level, we collaborate with people around the world
  to develop and deliver innovative solutions.</p>
</blockquote>
Try It Yourself

How It Works

  1. cite attribute stores a source URL.
  2. Not visible in normal rendering—check View Source or DevTools.
  3. Machine-readable reference for tools and validators.
  4. Show a link in visible text if readers need to click through.

Example 3 — Short Inline Quote

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

How It Works

  1. q stays inline inside the paragraph.
  2. Browsers add quotation marks for you.
  3. Avoid typing extra " characters inside q.
  4. Use blockquote when the quote needs its own block.

Example 4 — Cite a Creative Work

HTML
<p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p>
Try It Yourself

How It Works

  1. cite wraps the work title, not the artist’s name.
  2. Default italic is common; override with CSS if needed.
  3. Books, films, songs, paintings are typical cite targets.
  4. Different from the cite attribute on blockquote.

Example 5 — Abbreviations

HTML
<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>
<p>Learn <abbr title="HyperText Markup Language">HTML</abbr> and
  <abbr title="Cascading Style Sheets">CSS</abbr>.</p>
Try It Yourself

How It Works

  1. abbr marks the short form.
  2. title holds the expansion (often a tooltip).
  3. Do not rely on hover alone—spell out important terms on first use in body text when needed.
  4. Useful for HTML, CSS, WHO, ASAP, and similar.

Example 6 — Complete HTML Page

HTML
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>HTML Quotations Example</title>
</head>
<body>
  <h1>Quotations & Citations</h1>

  <p>The <abbr title="World Wide Fund for Nature">WWF</abbr> states:</p>
  <blockquote cite="https://www.worldwildlife.org/">
    <p>For 60 years, WWF has worked to help people and nature thrive.</p>
  </blockquote>

  <p>Their goal is to
    <q>Build a future where people live in harmony with nature.</q>
  </p>

  <p>Inspired by art? See <cite>The Scream</cite> by Edvard Munch.</p>
</body>
</html>
Try It Yourself

How It Works

  1. All four tags appear in one document.
  2. blockquote + cite URL provide a sourced excerpt.
  3. q handles the short slogan inline.
  4. abbr + cite clarify acronyms and work titles.

Edge Cases & Pitfalls

Misusing quote tags usually confuses readers or assistive technology.

marks

Double quotation marks inside q

Browsers already add quotes. Extra " characters look wrong.

cite

cite for people’s names

Use cite for work titles. Author names are ordinary text (or other markup).

indent

Fake block quotes with margins

CSS indent without blockquote is visual only. Prefer the real element.

hover

abbr title on touch devices

Tooltips may not appear on phones. Expand important acronyms in the sentence too.

nest

Quotes without paragraphs

For multi-paragraph blockquotes, wrap each paragraph in <p>.

attr

Expecting cite URL on screen

The cite attribute is metadata. Add a visible link if users must open the source.

Browser Support

blockquote, q, cite, and abbr are part of HTML and work in all modern browsers.

✓ Baseline · Widely available

HTML quotation elements

Browsers indent blockquote, add marks for q, italicize cite, and expose abbr title tips.

100% quote elements
Google Chrome All versions · Desktop & Mobile
Full support
Mozilla Firefox All versions · Desktop & Mobile
Full support
Apple Safari All versions · macOS & iOS
Full support
Microsoft Edge All versions · Chromium & Legacy
Full support
Internet Explorer IE 6+ · Legacy environments
Full support
Opera All modern versions
Full support
blockquote / q / cite / abbr Universal

Bottom line: Use semantic quotation tags freely; refine appearance with CSS when needed.

Key Takeaways

  • blockquote for block quotes; q for short inline quotes.
  • cite marks work titles; the cite attribute holds a source URL.
  • abbr + title explains abbreviations.
  • Semantics over styling—then theme with CSS.

One line: Use <blockquote>, <q>, <cite>, and <abbr> so quotes and abbreviations are meaningful in the markup.

Frequently Asked Questions

blockquote marks a section quoted from another source. Browsers usually indent it. Use the cite attribute for the source URL when you have one.
Use q for a short inline quotation inside a sentence. Use blockquote for a longer quoted block that stands as its own section.
cite marks the title of a creative work—book, article, film, song, painting, and similar. It usually renders in italic. It is not for a person's name.
Wrap the short form in abbr and put the full expansion in the title attribute, for example <abbr title="World Health Organization">WHO</abbr>.
Yes. Most browsers automatically insert language-appropriate quotation marks around q content. You usually should not type extra quote characters inside q.
No. The cite attribute on blockquote (or q) holds a URL of the source. The cite element wraps the title of a work in visible text.

Practice in the editor

Open a Try It demo and mix blockquote, q, cite, and abbr.

Open Try It editor →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful