HTML Time and Dates
- Whenever you want to display a time or date in HTML then you should wrap it in a time tag and use the datetime attribute.
<p>
The movie “Lock, Stock, and Two Smoking Barrels” was released
<time datetime="1998-08-28">28 August, 1998</time>
</p>
- The datetime attribute will be read and understood by search engines and other html parsing tools.