HTML del datetime attribute
Examples
A paragraph of text with the time and date have been removed:
<p><del datetime="2011-11-15T22:55:03Z">这是一个被删除了的文本</del></p>
try it"
Browser Support
No major browsers support datetime attribute, but it can be read by a screen reader.
Definition and Usage
datetime attribute specifies the date and time the text is deleted.
Differences between HTML 4.01 and HTML5
NONE.
grammar
<del datetime="YYYY-MM-DDThh:mm:ssTZD">
Property Value
value | description |
---|---|
YYYY-MM-DDThh: mm:ssTZD | Text deleted date and time. Components explained:
|
HTML <del> tag