HTML <ins> datetimeAttribute
Examples
An inserted text, with the date and time when the text was inserted:
<p>This is a text.
<ins datetime="2012-09-15T22:55:03Z">This is an inserted text.</ins></p>
<ins datetime="2012-09-15T22:55:03Z">This is an inserted text.</ins></p>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
The datetime attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
Definition and Usage
The datetime attribute specifies the date and time when the text was inserted or modified.
Differences between HTML 4.01 and HTML5
None.
Syntax
<ins datetime="YYYY-MM-DDThh:mm:ssTZD">
Attribute Values
| Value | Description |
|---|---|
| YYYY-MM-DDThh:mm:ssTZD | Specifies the date and time when the text was inserted or modified. Component explanation:
|
HTML <ins> Tag Other extensions