English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML tag大全

HTML del cite attribute

This article introduces the HTML del cite attribute that specifies the URL of a document explaining the reason for the deleted text. Online examples demonstrate how to use the HTML del cite attribute, browser compatibility, syntax definition, and detailed information about its attribute values.

 HTML <del> tag

Online Examples

A deleted text, with a URL explaining why the text is deleted:

!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML <del> cite 属性使用-基础教程(oldtoolbag.com)</title>
</head>
<body>
<p><del cite="del-cite-demo.html">This text has been deleted</del></p>
</body>
</html>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

The cite attribute is not supported by any mainstream browsers, but it can be used with screen readers.

Definition and Usage

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

HTML 4.01 With HTML5Differences

None.

Syntax

<del cite="URL">

Attribute value

ValueDescription
URL

The URL of the source being quoted.

Possible values:

  • Absolute URL - Points to another site (e.g., href="http://www.example.com/song.ogg"

  • Relative URL - Points to a file within a website (e.g., href="song.ogg")

  • Anchor URL - Points to an anchor within a page (e.g., href="#page")

 HTML <del> tag