The
td
element represents a single table cell.
The optional
colspan
and
rowspan
attributes can be used to specify that a column extends across or down more than one cell, respectively.
The optional
scope
attribute can be used to express that the current cell represents a header for columns(s) or row(s) defined by the attribute's
value.
Usage Example
<table>
<tr>
<th colspan="2">Inches</th>
<th>Lines</th>
</tr>
<tr>
<th>Length (as far as complete)</th>
<td>17</td>
<td>6</td>
</tr>
<tr>
<th>Depth of each ramus</th>
<td>4</td>
<td>9</td>
</tr>
</table>
Allowed parents
tr
Allowed children
This element may contain text.
This element may contain the following children: abbr,
address (block variant),
address (phrase variant),
annoref,
annotation (block variant),
annotation (phrase variant),
aside,
block,
ssml:break,
caption,
char,
citation (block variant),
citation (phrase variant),
code (block variant),
code (phrase variant),
d,
definition,
description,
d:description,
emph (text variant),
emph (phrase variant),
expansion,
xforms:group,
hd,
xforms:input,
rend:linebreak,
list,
ln,
m:math,
name,
note (block variant),
note (phrase variant),
noteref,
num,
object (block variant),
object (text variant),
object (phrase variant),
p,
pagebreak,
ssml:phoneme (text variant),
ssml:phoneme (phrase variant),
ssml:prosody (text variant),
ssml:prosody (phrase variant),
quote (block variant),
quote (phrase variant),
xforms:range,
ref,
xforms:repeat,
its:ruby,
s,
ssml:say-as (text variant),
ssml:say-as (phrase variant),
xforms:secret,
sel:select (Block variant),
sel:select (Phrase variant),
xforms:select,
xforms:select1,
span (text variant),
span (phrase variant),
sub,
ssml:sub (text variant),
ssml:sub (phrase variant),
sup,
table,
term,
xforms:textarea,
time,
ssml:token (text variant),
ssml:token (phrase variant),
transition,
verse and
w
Content model
optional attributes:
@about,
@by,
@class,
@colspan,
@content,
@continuation,
@datatype,
@desc,
@headers,
@its:dir,
@its:translate,
@property,
@rel,
@resource,
@rev,
@role,
@rowspan,
@scope,
@sel:selid,
@ssml:onlangfailure,
@typeof,
@xml:base,
@xml:id,
@xml:lang and
@xml:space
a choice of
either
one or more of
any of the 25 elements:
address,
annotation,
aside,
block,
caption,
citation,
code,
d:description,
description,
hd,
list,
ln,
m:math,
note,
object,
p,
pagebreak,
quote,
sel:select,
ssml:break,
table,
transition,
verse,
xforms:group and
xforms:repeat
or
one or more of
a choice of either one of the 53 elements:
abbr,
address,
annoref,
annotation,
char,
citation,
code,
d,
definition,
emph,
emph,
expansion,
its:ruby,
ln,
m:math,
name,
note,
noteref,
num,
object,
object,
pagebreak,
quote,
ref,
rend:linebreak,
s,
sel:select,
span,
span,
ssml:break,
ssml:break,
ssml:phoneme,
ssml:phoneme,
ssml:prosody,
ssml:prosody,
ssml:say-as,
ssml:say-as,
ssml:sub,
ssml:sub,
ssml:token,
ssml:token,
sub,
sup,
term,
time,
w,
w,
xforms:input,
xforms:range,
xforms:secret,
xforms:select,
xforms:select1 or
xforms:textarea
or text
end of choice
end of choice
Namespace
http://www.daisy.org/ns/z3998/authoring/