The <time> tag represents the time and date in an HTML document.
Example of Code
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example of HTML time Tag</title>
</head>
<body>
<p>The library opens at <time>8:30 am</time> every morning.</p>
<p>The concert took place on <time datetime="2016-12-31 12:00">31 Dec</time>.</p>
</body>
</html>
Output
Example of HTML time Tag The library opens at every morning.
The concert took place on .
