The <time> element represents a time on a 24 hour clock or a date in the calendar. It may provide optionally a time and a time zone offset. This element is intended to be used by a browser or other user agents, as a possibility of reminding users of scheduling events such as meetings or birthdays.

Syntax:

<time datetime=""></time>

Attributes:

NOTE: Have in mind that the <time> element does not render graphically in any of the main browsers.

Example

The time tag example with datetime attribute:

 

›› go to examples ››