Welcome to HTML5-Tutorials

Our site offers a lot of HTML5 learning from absolutely beginning to advanced level.If you want to make a website with HTML,this site will completely guide you a lot.So learn HTML5 syntax and form of coding easily with this website.If you have any doubt,leave a message on us.We will return you so soon.This site includes innumerable number of references you need to do after studying their corresponding elements.

In this page,we will learn about HTML <time> tag.

Use of <time> tag

The <time> tag defines the human readable or valid date or time either in 24-hour format or 12-hour format.
The time tag is used only to denote the associated time-related texts.It could not be normally seen in ordinary browsers but it helps a lot in SEO.

Display:inline

Example of <time> tag

    We have to meet at <time> 5:00 AM. </time>

Supported Browsers.

Tag
<time> 6.0 or higher 9.0 or higher 4.0 or higher 5.0 or higher 11.0 or higher

Full Code Example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>
Now I am very busy.Call me at <time> 8:00 AM. </time>
</p>
</body>
</html>

Output

Now I am very busy.Call me at

Attribute of <time> tag


Attribute Value Notes
datetime datetime It defines the date and time of the <time> element.