HTML <del> datetimeAttribute
Examples
A paragraph with text that has been deleted with the date and time:
<p><del datetime="2011-11-15T22:55:03Z">This is deleted text</del></p>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
No major browser supports the datetime attribute, but it can be interpreted by screen readers.
Definition and Usage
The datetime attribute specifies the date and time when the text was deleted.
Differences Between HTML 4.01 and HTML5
NONE.
Syntax
<del datetime="YYYY-MM-DDThh:mm:ssTZD">
Attribute Values
| Value | Description |
|---|---|
| YYYY-MM-DDThh:mm:ssTZD |
The date and time when the text was deleted. Component explanation:
|
HTML <del> Tag Other Extensions