Why we use <time datetime=""</time> ```

Why we use time datetime in HTML5 ? Why don’t we write directly time, months, years, date, etc ?

What is the general duty datetime in HTML?

<time datetime="2009-11-13">13<sup>th</sup> November</time>


It has two functions. Denotes date and time in a semantic way. And easily tags for machine reading (screen readers, learners, calendars, etc).

Semantics down to this level are fairly new in HTML. There are no tags for separating date, time month, etc. Support for the Time tag is very new. It can take years for a browser to support items. So even if HTML was given those tags tomorrow, there would not be any support for them.