DEV Community

Cover image for HTML tags | time

HTML tags | time

Carlos Espada
Frontend developer. Cyclist. Fan of trains, dinos and XIX century travels. Trying to do my part for making an accessible, light and fast internet for everyone.
・Updated on ・1 min read

It is used to define a specific time and date. It has a datetime attribute in which that time and date is indicated as a valid time string, so that it can be used by browsers to add it to a calendar or by search engines to offer better results.

  • Type: inline
  • Self-closing: No
  • Semantic value: Yes

Definition | Example | Support

Discussion (0)