Back to Concepts

<time>

A specific time or date.

The `<time>` tag defines a specific time (or datetime). This element can include the `datetime` attribute to translate the time into a machine-readable format so that browsers can offer to add date reminders through the user's calendar, and search engines can produce smarter search results.

Live Example & Code

Preview Output
<p>Open from <time>10:00</time> to <time>21:00</time>.</p>
HTMLViz
© 2026 HTMLViz. Open Source Learning.