You are here : htmlHTML 5time

<time> - HTML 5

The <time> tag defines a human-readable date/time.

This element can also be used to encode dates and times in a machine-readable way so that user agents can offer to add birthday reminders or scheduled events to the user's calendar, and search engines can produce smarter search results.


Syntax

    <p>We open at	<time>10:00</time> every morning.</p>	<p>I have a date on	<time datetime="2008-02-14 20:00">Valentines day</time>.</p>


Example

    <p>We open at	<time>10:00</time> every morning.</p>	<p>I have a date on	<time datetime="2008-02-14 20:00">Valentines day</time>.</p>


Output / Return Value


Limitations


Alternatives / See Also


Reference