HTML · Text and inline semantics

time

A machine-readable date or time. The datetime attribute lets browsers and search engines parse it.

Syntax
<time datetime="2026-11-01">…</time>

Example

Try it

More in this group

abbr b bdi bdo blockquote br cite code

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course