HTML <del> cite attribute

Definition and Usage

cite The attribute specifies the URL of the document that explains the reason for the deletion of the text.

Example

A deleted text that sets a document's URL, which explains the reason for the deletion of the text:

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

Try It Yourself

Syntax

<del cite="URL">

Attribute Value

Value Description
URL

Specifies the address of the document that explains the reason for the deletion of the explanatory text.

Possible values:

  • Absolute URL - Points to another website (e.g., cite="http://www.example.com/page.html")
  • Relative URL - Points to a page within the website (e.g., cite="page.html")

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Supported Supported Supported Supported Supported

Note:In a regular web browser,cite Attributes have no visual effect, but screen readers can use them.