Easy Tutorial
❮ Att Video Autoplay Canvas Shadowcolor ❯

HTML <ins> datetime Attribute

HTML <ins> Tag

Example

A piece of inserted text, with the date and time the text was inserted:


Browser Support

The datetime attribute has no visual effect in regular 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

Attribute Values

Value Description
YYYY-MM-DDThh:mm:ssTZD Specifies the date and time when the text was inserted or modified. Component explanations: YYYY - Year (e.g., 2009)<br> MM - Month (e.g., 01 for January)<br> DD - Day of the month (e.g., 08)<br> T - Required separator<br> hh - Hour (e.g., 22 for 10:00 PM)<br> mm - Minute (e.g., 55)<br> ss - Second (e.g., 03)<br> TZD - Time zone designator (Z stands for Zulu, also Greenwich Mean Time)

❮ Att Video Autoplay Canvas Shadowcolor ❯