Contact Number
Email Address

time

time

 

Definition and Usage

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.The HTML <time> element represents either a time on a 24-hour clock.The HTML <time> tag is an HTML 5 element that defines either a time value (on a 24-hour clock) or a date (in the Gregorian calendar) in the HTML document. This tag is also commonly referred to as the <time> element. It  is used for displaying the human readable date and time.t is used to encode dates and times in a machine-readable way to make easy to mark or schedule your task.

Syntax

In HTML, the syntax for the <time> tag is:
<body>
<time>Date and time goes here</time>
</body>