<time>...</time>

HTML4 HTML5

Represents specific clock time or calendar date[cite: 3]. Provides machine-readable data via datetime attribute[cite: 3].

Both tags mandatory[cite: 3].

Attributes:

Example

Code:

<p> Article published: <time datetime="2026-05-15">May 15, 2026</time>. </p> <p> Conference starts at <time datetime="2026-06-20T10:00">10:00 on June 20</time>. </p>

The browser will interpret this code as follows:

Article published: .

Conference starts at .