Semantics

An element that represents a specific point in time.

Abstract Role

  • StructureRepresents a non-interactive part of a page that organizes content into coherent units.

Content Categories

  • Phrasing ContentAn element that typically appears inline and provides semantic meaning to text content.

Allowed Descendants

Phrasing Children Allowed

Usage

Allowed HTML elements

Implicit semantics

These elements have the role semantics by default, without needing to set the role attribute. Reach for elements with native semantics first when choosing how to implement a role in your content.

  • time

Explicitly allowed

  • None

Elements that can have any role

  • abbr[role=time]
  • address[role=time]
  • b[role=time]
  • blockquote[role=time]
  • canvas[role=time]
  • cite[role=time]
  • code[role=time]
  • custom-element[role=time]
  • data[role=time]
  • del[role=time]
  • dfn[role=time]
  • div[role=time]
  • em[role=time]
  • figure[role=time]
  • i[role=time]
  • ins[role=time]
  • kbd[role=time]
  • mark[role=time]
  • output[role=time]
  • p[role=time]
  • pre[role=time]
  • q[role=time]
  • samp[role=time]
  • small[role=time]
  • span[role=time]
  • table[role=time]
  • tbody[role=time]
  • tfoot[role=time]
  • thead[role=time]
  • u[role=time]
  • var[role=time]