HTML <del> cita Attributo

❮ Tag HTML <del>

Esempio

Un testo eliminato, con un URL a un documento che spiega perché il testo è stato eliminato:

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

Definizione e utilizzo

L' citeattributo specifica un URL a un documento che spiega il motivo per cui il testo è stato eliminato.


Supporto browser

Attribute
cite Yes Yes Yes Yes Yes

Nota: l' citeattributo non ha alcun effetto visivo nei normali browser Web, ma può essere utilizzato dagli screen reader.


Sintassi

<del cite="URL">

Valori di attributo

Value Description
URL Specifies the address to the document that explains why the text was deleted.

Possible values:

  • An absolute URL - Points to another web site (like cite="http://www.example.com/page.htm")
  • A relative URL - Points to a page within a web site (like cite="page.htm")

❮ Tag HTML <del>