HTML 5: The Markup Language (ARIA Edition)

timedate and/or time # T

The time element represents a date and/or time.

Content model #

Attribute model #

Element-specific attributes #

datetime = date-or-time
Specifies the date or time that the element represents.

Tag omission #

A time element must have both a start tag and an end tag.

Permitted contexts #

Details #

If the datetime attribute is not specified, then the date or time represented is given by the contents of the element, and the character data in those contents must conform to the date-or-time datatype.