Hacker News new | ask | show | jobs
by runarberg 2577 days ago
I wonder why they didn’t use the `<time>` element for this.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ti...

1 comments

As far as I know, no browser actually does anything special with `<time>` elements. Might be nice for screenreaders though, so I'll see if I can switch.
I don’t know if this has been done but I suppose a good use of the `<time>` element would be for browser addons to target it and use the `datetime` attribute for something like “add to calendar (ical)” or “translate the text content to my locale” or something similar.