CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: <time> element

The <time> Element

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