The datetime attribute gives a <time> element a machine-readable date or time, while the text between the tags stays friendly for human visitors. Think of it as a tiny translation layer: people see “August 23rd, 2023,” while software can read an exact value such as 2023-08-23T16:00:00-05:00. The browser does not automatically style or format the date; the attribute supplies meaning for browsers and other software. section 16.1
A human-friendly date with a machine-friendly value
This web page was last modified on <time datetime="2023-08-23T09:25:00-05:00">August 23rd, 2023 at 9:25AM</time>. section 16.1
Here's the syntax to use for the <code>time</code> element:<br> <code><time datetime="<var>machine-value</var>"><var>human text</var></time>.</code>
Use this syntax pattern to place a machine value in datetime and readable text between the time tags. section 16.1
