Easy Tutorial
❮ Att Output Form Tag U ❯

HTML <del> datetime Attribute

HTML <del> Tag

Example

A paragraph where text with a date and time has been deleted:


Browser Support

No major browsers support the datetime attribute, but it can be interpreted by screen readers.


Definition and Usage

The datetime attribute specifies the date and time when the text was deleted.


Differences Between HTML 4.01 and HTML5

NONE.


Syntax

Attribute Values

Value Description
YYYY-MM-DDThh:mm:ssTZD The date and time when the text was deleted. 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 Output Form Tag U ❯