HTML <del> cite Attribute

The cite attribute on a <del> tag assigns a URL to a reference that explains the reason for the deletion.

Example

#

A cite attribute on a <del> element.
The citation contains a URL to a source that explains the spelling of this word. This URL is not visible.

Your order has been canceled cancelled.

<p>
  Your order has been 
  <del cite="https://www.dictionary.com/e/canceled-vs-cancelled/">
       canceled
  </del> 
  cancelled.
</p>

Using cite

The cite attribute specifies the page URL which explains why the content was deleted.

The URL is not visible, but it is readable by screen readers, search engines, JavaScript code, and others.

This attribute accepts absolute and relative URLs, i.e. from other domains and from the same domain.


Syntax

<del cite="URL" >

Values

#

Value Description
URL An absolute or relative URL to a document that explains why the text was deleted.

Browser support

Here is when cite support started for each browser:

Chrome
1.0 Sep 2008
Firefox
1.0 Sep 2002
IE/Edge
1.0 Aug 1995
Opera
1.0 Jan 2006
Safari
1.0 Jan 2003

You may also like

 Back to <del>
Guides