Latest web development tutorials
 

HTML <del> cite Attribute

< HTML <del> tag

Example

A deleted text, with a URL to a document that explains why the text was deleted:

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

Definition and Usage

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


Browser Support

Attribute
cite Yes Yes Yes Yes Yes

Note: The cite attribute has no visual effect in ordinary web browsers, but can be used by screen readers.


Differences Between HTML 4.01 and HTML5

NONE.


Syntax

<del cite="URL">

Attribute Values

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")

< HTML <del> tag