HTML <ins> datetime attribute
Definition and Usage
datetime
The attribute specifies the date and time of insertion/changing the text.
Example
The inserted text, along with the insertion time and date information:
<p>This is a paragraph of text.<ins datetime="2023-11-30T23:41:16Z">This is an inserted text.</ins></p>
Syntax
<ins datetime="YYYY-MM-DDThh:mm:ssTZD">
Attribute Value
Value | Description |
---|---|
YYYY-MM-DDThh:mm:ssTZD |
Specifies the date and time when the text is inserted/changed. The following is an explanation of each part:
|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |
Note:datetime
Attributes have no visual effect in standard web browsers, but can be read by screen readers.