HTML alıntı Özelliği
Tanım ve Kullanım
Nitelik
cite
, alıntıyı veya metnin neden eklendiğini/değiştirildiğini açıklayan bir belgenin URL'sini belirtir.
Şunlar için geçerlidir:
Nitelik
cite
aşağıdaki öğelerde kullanılabilir:
Elementler | Bağlanmak |
---|---|
<blockquote> | anmak |
<del> | anmak |
<ins> | anmak |
<q> | anmak |
Örnekler
Blok alıntı Örneği
Başka bir kaynaktan alıntılanan bir bölüm:
<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>
Del Örnek
Metnin neden silindiğini açıklayan bir belgenin URL'si ile silinmiş bir metin:
<p><del cite="del_demo_cite.htm">This text has been deleted</del></p>
Ins Örnek
Metnin neden eklendiğini açıklayan bir belgenin URL'si ile birlikte eklenen bir metin:
<p>This is a text.
<ins cite="why_inserted.htm">This is an inserted text.</ins></p>
S Örneği
Bir teklifin kaynak URL'sini belirtin:
<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>
Tarayıcı Desteği
Nitelik cite
, her öğe için aşağıdaki tarayıcı desteğine sahiptir:
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 |