HTML and lt;del> datetime properties
You can use the datetime property to set the date and time of text deletion when there is text on the HTML page that is deleted using the hashtag.
A paragraph in which text with time and date has been deleted:
<del datetime="2011-11-15T22:55:03Z">这是一个被删除了的文本</del>
</p>
Try it out . . .
Browser support
No mainstream browser supports the datetime property, but it can be interpreted by screen readers.
Definitions and usages
The datetime property specifies the date and time the text was deleted.
The difference between HTML 4.01 and HTML5
No.
Grammar
The property value
Value | Describe |
---|---|
YYYY-MM-DDThh:mm:ssTZD |
The date and time the text was deleted. Component interpretation:
|
HTML . . .