HTML <ins> datetime eigenschap
Definitie en gebruik
datetime
Eigenschappen bepalen de datum en tijd van het invoegen of wijzigen van tekst.
Voorbeeld
Geïntroduceerde tekst, inclusief informatie over de datum en tijd van de invoeging:
<p>This is a paragraph of text.<ins datetime="2023-11-30T23:41:16Z">This is 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
Properties have no visual effect in ordinary web browsers, but can be read by screen readers.