HTML引用属性


定義と使用法

この cite属性は、引用を説明するドキュメントへのURL、またはテキストが挿入/変更された理由を指定します。


に適用されます

この cite属性は、次の要素で使用できます。

要素 属性
<blockquote> 引用
<del> 引用
<ins> 引用
<q> 引用

ブロッククォートの例

別のソースから引用されたセクション:

<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally. WWF's unique way of working combines global reach with a foundation in science, involves action at every level from local to global, and ensures the delivery of innovative solutions that meet the needs of both people and nature.
</blockquote>

デルの例

削除されたテキストと、テキストが削除された理由を説明するドキュメントへのURL:

<p><del cite="del_demo_cite.htm">This text has been deleted</del></p>

Insの例

挿入されたテキストと、テキストが挿入された理由を説明するドキュメントへのURL:

<p>This is a text.
<ins cite="why_inserted.htm">This is an inserted text.</ins></p>

Q例

引用のソースURLを指定します。

<p>WWF's goal is to:
<q cite="http://www.wwf.org">
Build a future where people live in harmony with nature.</q>
We hope they succeed.</p>

ブラウザのサポート

このcite属性では、要素ごとに次のブラウザがサポートされています。

Element
blockquote Yes Yes Yes Yes Yes
del Yes Yes Yes Yes Yes
ins Yes Yes Yes Yes Yes
q Yes Yes Yes Yes Yes