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 and example | Support

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.