Last updated: 2026-09-12
<time>The TIME Element
Represents a machine-readable date or time, helping search engines and scripts parse it precisely.
| Category | Semantic |
|---|---|
| Content Model | Phrasing content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Yes — requires closing </time> tag |
| Status | Standard |
📝 Syntax
<time datetime="2026-08-23">Aug 23, 2026</time>
⚙️ Attributes
This element supports the global attributes plus the following:
| Attribute | Value | Description |
|---|---|---|
datetime | Machine-readable date/time, e.g. 2026-08-23T13:30. |
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <time> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: Put a standard value in datetime (e.g. 2026-08-23 or 2026-08-23T13:30); the visible text can be anything.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.