HTML <del> citeAttribute

HTML del 标签参考手册HTML <del> Tag

Examples

A deleted text, with a URL explaining the reason for the deletion:

<p><del cite="del_demo_cite.htm">This is a deleted text</del></p>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

No major browsers support the cite attribute, but the attribute can be used by screen readers.


Definition and Usage

The cite attribute specifies the URL of a document that explains the reason why the text was deleted.


Differences Between HTML 4.01 and HTML5

NONE.


Syntax

<del cite="URL">

Attribute Values

Value Description
URL

The URL of the cited source.

Possible values:

  • Absolute URL - points to another site (e.g., href="http://www.example.com/song.ogg")
  • Relative URL - points to a file within the website (e.g., href="song.ogg")
  • Anchor URL - points to an anchor within the page (e.g., href="#page")


HTML del 标签参考手册HTML <del> Tag Other Extensions