HTML <time> Element Reference

The HTML <time> element represents a date, time, duration, or machine-readable datetime value.

<time>

HTML <time> Element Reference

The HTML <time> element represents a date, time, duration, or machine-readable datetime value.

Categories

  • Text-level semantics

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical time element example.

<time datetime="2026-08-07">August 7, 2026</time>

Related references

Description

The HTML <time> element represents a date, time, duration, or machine-readable datetime value.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <time> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies