Google News
logo
HTML5 Time Tag
The HTML <time>

The TIME tag represents either time on a 24-hour clock or a precise date in the Gregorian calendar with optional time and time zone information.

TIME Element has been configured to presenting date and time in machine readable format. It can be helpful for user agents to offer event scheduling for a user's calendar.
Example :
<!DOCTYPE html>
<html lang="en">
    <head>
       <title>HTML5 Time Tag</title>
    </head>
    
    <body>
    
        <p>On monday, we open at <time>10:00 AM</time>.</p>
<p>The concert is <time datetime="20017-08-18">next Tuesday</time>.</p>
        
    </body>
    
</html>  
Output :

On monday, we open at .

The concert is .