The <time> element represents a specific period in time.
It uses the datetime attribute to translate dates into
a machine-readable format.
The Cure will be celebrating their 40th anniversary on in London's Hyde Park. The concert starts at and you'll be able to enjoy the band for at least .
The code that produced the output above looks like this:
<p>
The Cure will be celebrating their 40th anniversary on
<time datetime="2026-07-07">July 7</time> in London's Hyde Park.
The concert starts at <time datetime="20:00">20:00</time>
and you'll be able to enjoy the band for at least
<time datetime="PT2H30M">2h 30m</time>.
</p>