basics of website design banner photo

HTML

HTML 5

CSS 2.1

CSS 3

Reference

HTML5 <time> Element

The <time> element contains a date and/or a time.

<time> Attributes

  • HTML5 GLOBAL ATTRIBUTES
  • datetime - gives the date and/or time being specified, otherwise the contents of the <time> element show the date/time.

NOTE: The pubdate attribute which was briefly included in the HTML5 specification in 2011 was dropped in early 2012 as it served no useful purpose.

New HTML5 Elements