Example
Use of the datetime attribute in the del element:My favorite color is <del datetime="2009-01-08T22:55:03Z">blue</del> <ins>red</ins>!
Definition and Usage
The datetime attribute specifies the date and time when the text was deleted.
Browser Support
None of the browsers we tested do anything visual with the datetime attribute, but the information is available in the DOM for the purposes of scripting or styling with CSS.
Syntax
<del datetime="value">
Attribute Values
| Value | Description |
|---|---|
| YYYY-MM-DDThh:mm:ssTZD | The date and time the text was deleted. Explanation of components:
|
Was this information helpful?

