CKTIS / HTML
HTML element: blockquote
The block-quotation element represents a self-contained section quoted from another source, not text made prominent merely by indentation.
Version: WHATWG HTML Living Standard; index snapshot date recorded separately
Syntax
<blockquote cite="source-url"><p>quoted section</p></blockquote>blockquote contains a quoted section, often with multiple paragraphs; a short quotation inside the current sentence belongs in q.
Optional cite on blockquote is the source address: it creates neither a visible citation nor an a link, and it does not fetch or authenticate the material.
Place attribution and author commentary outside the quoted content, for example in a figure with figcaption; the cite element names a work, not an arbitrary person.
The example resolves the cite URL, counts paragraphs with querySelectorAll(), and uses contains() to confirm that the caption is outside the quotation.
Examples
<!doctype html>
<meta charset="utf-8">
<base href="https://example.test/articles/">
<figure id="quotation">
<blockquote id="quote" cite="parser-notes"><p>The parser creates a document.</p><p>Errors are recovered.</p></blockquote>
<figcaption id="credit">— <cite>Parser Notes</cite></figcaption>
</figure>
<output id="result"></output>
<script>
const quotation = document.querySelector("#quotation");
const quote = document.querySelector("#quote");
const credit = document.querySelector("#credit");
document.querySelector("#result").textContent = `cite=${quote.cite}; paragraphs=${quote.querySelectorAll("p").length}; captionInside=${quote.contains(credit)}; links=${quotation.querySelectorAll("a").length}; credit=${credit.textContent}`;
</script>
Result
cite=https://example.test/articles/parser-notes; paragraphs=2; captionInside=false; links=0; credit=— Parser Notes
The result verifies structure and source metadata without a network request; it does not assess quotation fidelity or permission to reuse it.