Indicates text that has been deleted from the document. | HTML 4, 4.01, 5 |
HTML Syntax
<del cite=url datetime=YYYY-MM-DDThh:mm:ss>
...
</del>
NOTE: Both start and end tags are required.
The <del
> element represents a removal from the document.
Browsers normally render the element by applying a strike-through style to the text.
The <del>
element supports the following attributes, in addition to global attributes common to all HTML elements.
cite | URL | Specifies a URL to a document that explains the reason why the text was deleted/changed |
datetime | YYYY-MM-DDThh:mm:ss | Specifies the date and time of when the text was deleted/changed |
The following example shows how the <del
> element may be used.
<del>This text has been revised.</del>
which would render on a Web page as follows:
This text has been revised.
INS