References

Collection of references for web development.

HTML time tag

Description

The HTML <time> element represents the date/time, often used with the <article> element.

Attributes

Attribute Value Description
datetime datetime Specifies the date and time.

Example

<p>The shop opens at <time>09:00</time>.</p>

Example #2

<p>The shop opens at <time datetime="2018-01-31T09:00">09:00</time>.</p>