Last Updated on April 26, 2023 by Roshan Parihar
Definition of HTML time tag
HTML time tag is used to show date and time in webpages. This specifies the date and time and encode it in machine readable for schedulling task.
Table of Content
Syntax:
1 |
<time>specify date or time here</time> |
Put the date and time inside this and include it in content.
1 |
<p>I am going to learn web tutorial at <time>09:00</time>am.</p> |
Output
I am going to learn web tutorial at am.
In this, time tag coming in HTML paragraph tag to show time in the content.
Resources and References
1. W3C Specification
2. HTML living standard
3. W3C project using Github