English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
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.
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 ‹/›
IEFirefoxOperaChromeSafari
The cite attribute is not supported by any mainstream browsers, but it can be used with screen readers.
The cite attribute specifies the URL of the document that explains the reason for deleting the text.
None.
<del cite="URL">
Value | Description |
---|---|
URL | The URL of the source being quoted. Possible values:
|