blockquote
A block-level quotation, usually for longer quoted material.
Learn HTML Quotations as a practical HTML text lesson with syntax, examples, common mistakes, accessibility notes and a live code lab.
HTML text basics
HTML has elements for quoted text. Use blockquote for longer quoted blocks and q for short inline quotes inside a sentence.
A quote should not be created with styling alone. Italic text can look like a quote, but the browser still sees ordinary text unless you use the correct element.
The cite element can name the creative work, article, book, documentation page or source title connected to the quote.
A block-level quotation, usually for longer quoted material.
An inline quotation inside a sentence. Browsers usually add quotation marks.
The title of a cited work or source, not usually the quoted person name alone.
An optional URL on blockquote or q that points to the quote source.
Syntax and meaning
The markup should show what text is quoted and where the source context belongs.
<figure>
<blockquote cite="https://html.spec.whatwg.org/">
<p>HTML describes the structure of documents and applications.</p>
</blockquote>
<figcaption>
Source: <cite>HTML Living Standard</cite>
</figcaption>
</figure>
<p>The developer said <q>structure comes before styling</q>.</p>
<p class="quote"> "HTML describes the structure of documents and applications." </p> <p><i>HTML Living Standard</i></p>
Practical rules
These rules are the part that saves time in real projects. If the HTML meaning is clean, CSS, JavaScript, accessibility checks and search optimization become easier to reason about.
Do not wrap your own summary in blockquote unless it is actually quoted.
Short quotes inside sentences belong in q, not blockquote.
The cite element names a work or source, such as a book, article or standard.
Styling cannot replace quotation semantics.
A quote should make it easy to understand where the text came from.
If you link to an outside source, use clear labels and avoid throwing users away unexpectedly.
Production thinking
Text markup matters because browsers and assistive technology do not only see letters. They also read structure, emphasis, quotes, code and relationships between pieces of text.
Semantic quote markup helps assistive technology and user agents communicate that text is quoted, not normal body copy.
In content systems, store quote text, source title and source URL separately so templates can output consistent quotation markup.
Quoted content should support your original explanation. A page made mostly of copied quotes is weak content.
Live code lab
Edit the HTML or CSS, then use Run to refresh the preview. The preview is isolated, so links and forms stay inside this practice area.
Mini assignment
Practice assignment
Try it yourself
Self-check
Do not only read this page. Answer these questions out loud or write the answers in your own notes. If one answer feels vague, revisit the examples before moving on.