Dofactory.com
Dofactory.com
Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

HTML <del> cite Attribute

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

The cite value has no visual effect but is readable by JavaScript, screen readers, search engines, and more.

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 a link that 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>

Last updated on Sep 30, 2023

Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

Guides