CKTIS / HTML
HTML-Element: blockquote
Das Blockzitatelement stellt einen eigenständigen, aus einer anderen Quelle zitierten Abschnitt dar, nicht bloß durch Einrückung hervorgehobenen Text.
Version: WHATWG HTML Living Standard; index snapshot date recorded separately
Syntax
<blockquote cite="source-url"><p>quoted section</p></blockquote>blockquote enthält einen zitierten Abschnitt, oft mit mehreren Absätzen; ein kurzes Zitat im laufenden Satz gehört in q.
Das optionale cite auf blockquote ist die Quelladresse: Es erzeugt weder sichtbaren Beleg noch Link a und lädt oder beglaubigt das Material nicht.
Attribution und Autorenkommentar gehören außerhalb des Zitats, etwa in eine figure mit figcaption; das Element cite benennt ein Werk, nicht eine beliebige Person.
Das Beispiel löst die URL cite auf, zählt Absätze mit querySelectorAll() und bestätigt über contains(), dass die Beschriftung außerhalb liegt.
Beispiele
<!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>
Ergebnis
cite=https://example.test/articles/parser-notes; paragraphs=2; captionInside=false; links=0; credit=— Parser Notes
Das Ergebnis bestätigt Struktur und Quellmetadaten ohne Netzwerkanfrage; es bewertet weder Zitattreue noch Nutzungsrecht.