English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <blockquote> Tag

Der HTML <blockquote>-Tag definiert in einem HTML-Dokument einen langen Blockzitat aus einer anderen Quelle. Traditionell wird der Text, der im <blockquote>-Tag gefunden wird, von Browsern als eingerückter Text dargestellt. Dieses Tag wird auch oft als <blockquote>-Element bezeichnet.

Online-Beispiel

Definieren Sie einen Blockzitat aus einer anderen Quelle:

!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 blockquote by de.oldtoolbag.com</title>
</head>
<body>
<h1>Überschrift 1</h1>
<p>Das folgt ist der Titel, der erscheinen wird1untergeordnete Inhalte.</p>
<blockquote>This is a quote</blockquote>
<blockquote cite="https://de.oldtoolbag.com">Dies ist eine Referenz, die die cite-Property verwendet</blockquote>
</body>
</html
Testen Sie, ob ‹/›

Browserkompatibilität

IEFirefoxOperaChromeSafari

Alle gängigen Browser unterstützen den <blockquote>-Tag.

Definition und Verwendung des Tags

<blockquote>-Tag definiert einen Blockzitat aus einer anderen Quelle.

Browser fügen normalerweise dem <blockquote>-Element Einrückung hinzu.

Hinweise und Warnungen

HTML The <blockquote> element is located within the <body> tag.
For short inline quotes, use<q>tag.
Most browsers will indent the text within the <blockquote> tag, but you can use CSS to change this behavior.

HTML 4.01 and HTML5Differences between

In HTML 4.01 In, the <blockquote> tag defines a long quote.

In HTML5 In, the <blockquote> tag defines a block quote from another source.

Differences between HTML and XHTML

Note:If you want to validate the page as XHTML, then the <blockquote> element must contain block-level elements, such as:

<blockquote>
<p>This is a long quote, this is a long quote. Your trusted resource for learning new technologies (oldtoolbag.com)</p>
</blockquote>

Attribute

AttributeValueDescription
citeURLSpecify the source of the reference.

Global Attributes

The <blockquote> tag supports HTML Global Attributes.

Event Attributes

The <blockquote> tag supports HTML Event Attributes.