DEV Community

Cover image for HTML tags | time
Carlos Espada
Carlos Espada

Posted on • Updated on

HTML tags | time

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)