Definizione e utilizzo
La cite attributo specifica un URL di un documento che spiega la citazione, o perché il testo è stato inserito / cambiato.
Si applica a
La cite attributo può essere utilizzato sui seguenti elementi:
Elementi | Attributo |
---|---|
<blockquote> | cite |
<del> | cite |
<ins> | cite |
<q> | cite |
Esempi
Blockquote Esempio
Una sezione che è citato da un'altra fonte:
<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>
Prova tu stesso " Del Esempio
Un testo cancellato, con un URL di un documento che spiega il motivo per cui il testo è stato cancellato:
<p><del cite="del_demo_cite.htm">This text has been deleted</del></p>
Prova tu stesso " Ins Esempio
Un testo inserito, con un URL di un documento che spiega il motivo per cui il testo è stato inserito:
<p>This is a text.
<ins cite="why_inserted.htm">This is an inserted text.</ins></p>
Prova tu stesso " Q Esempio
Specificare l'URL di origine di una citazione:
<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>
Prova tu stesso " Supporto per il browser
La cite
attributo ha la seguente supporto del browser per ogni elemento:
Elemento | |||||
---|---|---|---|---|---|
blockquote | sì | sì | sì | sì | sì |
del | sì | sì | sì | sì | sì |
ins | sì | sì | sì | sì | sì |
q | sì | sì | sì | sì | sì |