CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "time" element

The "time" Element

Additional links:

New in HTML5Inline Text Semantics

The "time" element represents various kinds of dates, times, time-zone offsets, and durations. A machine-readable form of the date/time can be provided using the "datetime" attribute.

Attributes for "time"
TypeAttribute List
'Standard' Attributes"datetime"
Obsolete Attributes"pubdate"

Syntax Notes for "time"

  • If the time element does not have a datetime attribute, then it must not have any element descendents.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem