HTML5 <del> Tag
ExampleA text with a deleted part and a new inserted part:
Try it yourself » |
Definition and Usage
The <del> tag defines text that has been deleted from a document.
Differences Between HTML 4.01 and HTML5
NONE
Tips and Notes
Tip: Use it together with the <ins> tag to describe updates and modifications in a document.
Attributes
Attribute | Value | Description |
---|---|---|
cite | URL | Specifies a URL to a document which explains why the text was deleted |
datetime | YYYY-MM-DDThh:mm:ssTZD | Specifies the date and time when the text was deleted |
Standard Attributes
The <del> tag also supports the Standard Attributes in HTML5.
Event Attributes
The <del> tag also supports the Event Attributes in HTML5.