Html-blockquote-tag
提供:Dev Guides
HTML-<blockquote>タグ
説明
HTMLの<blockquote>タグは、長い引用を示すために使用されます(つまり、 複数行にわたる引用)。 プレーンテキストだけでなく、ブロックレベルの要素のみを含める必要があります。
例
<!DOCTYPE html>
<html>
<head>
<title>HTML blockquote Tag</title>
</head>
<body>
<blockquote>Browsers generally render blockquote text as indented text. If your
quoted text needs to display within a non-quoted paragraph, you should use the
HTML q tag. Most browsers surround q text with quotation marks.</blockquote>
<q>Browsers generally render blockquote text as indented text. If your quoted text
needs to display within a non-quoted paragraph, you should use the HTML q tag.
Most browsers surround q text with quotation marks.</q>
</body>
</html>
これは、次の結果を生成します-
グローバル属性
このタグは、リンク:/html/html_attributes_reference [HTML属性リファレンス]で説明されているすべてのグローバル属性をサポートします
特定の属性
HTML <blockquote>タグは、次の追加属性もサポートしています-
Attribute | Value | Description |
---|---|---|
cite html-5 | URL | URL of the quote, if it is taken from the web. |
イベント属性
このタグは、link:/html/html_events_reference [HTMLイベントリファレンス]で説明されているすべてのイベント属性をサポートしています。
ブラウザのサポート
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |