HTML5 <time> tag
The <time> tag is used to describe date and time in HTML5 document.
It uses a 24 hour clock to display the time.
This <time> element encodes date and time in machine readable format which helps user to set their task and to get reminders later.
Default CSS Value
How Browser will display
Difference between HTML4.01, XHTML and HTML5
|NA||NA||New tag added in HTML5|
Attributes used with <time> tag
|datetime||To set date and time that will not be visible to the user but can only be read by machines.|
The <time> tag guides the search engines to show a proper result based on the time.
Internet Explorer 8 and prior versions does not support this tag.
The <time> tag supports Global attributes.
The <time> tag supports Event attributes.