The
time
element represents a calendar or clock-based statement of time.
If the value of the
time
element is not in a machine-readable format, the
time
attribute optionally allows the inclusion of an alternate representation.
Usage Example
I was so much impressed with these facts that I strongly insisted, in
<time time="1839">1839</time> and <time time="1845">-45</time>, on this
"law of the succession of types," —on "this wonderful relationship in
the same continent between the dead and the living."
Allowed parents
address,
annoref,
annotation (block variant),
annotation (phrase variant),
block,
byline,
caption,
citation (block variant),
citation (phrase variant),
dateline,
definition,
description (block variant),
description (phrase variant),
emph,
expansion,
h,
hd,
item,
ln,
d:longdesc,
meta,
object (block variant),
object (phrase variant),
p,
quote (block variant),
quote (phrase variant),
its:rb,
ref,
its:rt,
s,
d:simplifiedLanguageDescription,
span,
d:summary,
td,
term,
th and
d:tour
Allowed children
This element may contain text.
This element may contain the following children: emph,
object,
its:ruby,
span,
sub and
sup
Content model and additional requirements
optional attributes:
@about,
@by,
@class,
@content,
@continuation,
@datatype,
@desc,
@its:dir,
@its:translate,
@property,
@rel,
@resource,
@rev,
@role,
@time,
@typeof,
@xml:base,
@xml:id,
@xml:lang and
@xml:space
one or more of
a choice of
or text
end of choice
Note that in addition to restrictions presented in the content model above,
use of this element must also respect the following requirements:
- The
time
element must not contain descendant
time
elements.
- The
time
element must neither be empty nor contain only whitespace.
Such requirements take precedence over any conflicting statements in the
content model or in the lists above of allowed children and parents.
Namespace
http://www.daisy.org/ns/z3998/authoring/