ⓘ time – date and/or time NEW # T
The
time
element
represents a date and/or time.
Permitted attributes #
-
ⓘ
global attributes
- Any attributes permitted globally.
-
ⓘ
datetime (any)
=
date or time
#
- Specifies the date or time that the element
represents.
Any one of the following:
-
ⓘ
datetime (date only)
=
date
#
- Specifies the date that the element represents.
-
A valid
full-date
as defined in
[RFC 3339],
with the additional qualification that the year component is
four or more digits representing a number greater than 0.
-
ⓘ
datetime (date and time)
=
date and time
#
- Specifies the date and time that the element represents.
A valid
date-time
as defined in
[RFC 3339],
with these additional qualifications:
- the literal letters
T and
Z in the date/time syntax
must
always be
uppercase
- the
date-fullyear
production is instead defined as four or more digits
representing a number greater than 0
Examples:
1990-12-31T23:59:60Z
1996-12-19T16:39:57-08:00
-
ⓘ
pubdate =
"pubdate" or "" (empty string) or empty
#
- Indicates that the date and time given by the element is
the publication date and time of the nearest ancestor
article
element — or, if the element has no ancestor
article
element, of the document as a whole.
Additional constraints and admonitions #
-
The element time must not
appear as a descendant of the time element.
Permitted parent elements #
any element that can contain
phrasing elements