<blockquote> Tag in HTML

Quick facts

CategoryFlow content, palpable content
Content modelFlow content (paragraphs, lists and other block content)
Tag omissionNeither the start nor the end tag can be omitted
Permitted parentsAny element that accepts flow content
DOM interfaceHTMLQuoteElement

Syntax

<blockquote cite="https://example.com/source"> <p>Quoted text goes here.</p> </blockquote>

Live example

Edit the code below and watch the preview update instantly.

index.html
Preview

Attributes

AttributeDescription
citeA URL pointing to the source of the quotation. Browsers don’t display it; it’s machine-readable metadata for scripts and search engines.

Common examples

A quote with its source

The cite attribute stores the source URL for browsers and tools; a visible line credits the author for readers.

<blockquote cite="https://www.w3.org/People/Berners-Lee/"> <p>The Web is for everyone.</p> </blockquote> <p>— Tim Berners-Lee</p>

A quote with a caption using figure

Wrapping the quote in a <figure> ties the author line to the quote.

<figure> <blockquote> <p>Simplicity is prerequisite for reliability.</p> </blockquote> <figcaption>— Edsger W. Dijkstra</figcaption> </figure>

A customer testimonial

Reviews and testimonials are quotations from real people, so blockquote is the right fit.

<figure class="testimonial"> <blockquote> <p>This editor saved me hours every week.</p> </blockquote> <figcaption>Maria, web designer</figcaption> </figure>

Styling a blockquote

Browsers indent blockquotes by default; a left border and italic text make them look like a quote.

<style> blockquote { margin: 1.5rem 0; padding: 0.5rem 1rem; border-left: 4px solid #7b61ff; font-style: italic; } </style>

<blockquote> vs a pull quote

A <blockquote> quotes another source: a person, a book, a website. A pull quote repeats a line from your own article in large type to catch the eye, so it isn’t really a quotation from elsewhere.

Because a pull quote repeats text already on the page, mark it up as an <aside> (and consider hiding it from screen readers with aria-hidden="true", so the sentence isn’t read twice). Keep <blockquote> for words that come from someone else.

<blockquote>Pull quote
QuotesAnother sourceYour own text
Element<blockquote><aside>
Read by screen readersYesOften hidden (duplicate)

Common mistakes to avoid

  • Using blockquote just to indent text. Use CSS margin or padding for indentation; blockquote means “this is a quotation”.
  • Putting the author inside the blockquote. The attribution isn’t part of what was said; place it after the quote or in a <figcaption>.
  • Adding quote marks by hand. Long block quotes don’t need them; if you want decorative marks, add them with CSS ::before.
  • Bare text inside the blockquote. Wrap the quoted text in <p> tags, especially when it has more than one paragraph.

Accessibility & SEO tips

  • Credit quotes with a real name and a link to the source when possible — it builds trust with readers and shows search engines your content is well sourced.
  • Don’t quote large parts of other websites: duplicated content adds nothing for search engines. Quote the key sentence and add your own commentary.
  • Keep quotes in normal-sized, readable text; very large italic text is harder to read for people with dyslexia.

Browser support

Supported in every browser, including Chrome, Edge, Firefox, Safari and their mobile versions — it has been part of HTML since the very first versions.

Related tags

Frequently asked questions

What is the difference between <blockquote> and <q>?
<blockquote> is for longer, block-level quotations that stand on their own. <q> is for short quotes inside a sentence, and browsers wrap it in quotation marks automatically.
Where should I put the author of a quote?
Outside the <blockquote>. The HTML spec says the attribution is not part of the quote, so the usual pattern is to wrap the quote in a <figure> and name the author in a <figcaption>.
Does the cite attribute show on the page?
No. The cite attribute is invisible metadata. If you want readers to see or click the source, add a visible link in the caption.
How do I style a blockquote in CSS?
Target the blockquote selector: for example blockquote { border-left: 4px solid #7b61ff; padding-left: 1rem; font-style: italic; }. Reset margin if you don't want the default indent.
Can a blockquote contain several paragraphs?
Yes. Put each paragraph in its own <p> inside the blockquote. It can also hold lists and headings if the original source had them.
How do I add big quotation marks to a blockquote?
Use CSS: blockquote::before { content: "“"; font-size: 3rem; } adds a decorative opening quote mark without changing the HTML.