Description
The TD element defines a data cell as part of the TABLE construct.
Both TH and TD elements can exist in any
one of the three table sections: THEAD, TFOOT, or TBODY.
Minimum Attributes
<TD>
All Possible Attributes
<TD
LANG="..."
DIR=ltr|rtl
ID="..."
CLASS="..."
AXIS="..."
AXES="..."
NOWRAP
ROWSPAN=value
COLSPAN=value
ALIGN=left|right|center|justify|char|decimal
CHAR="..."
CHAROFF="..."
DP="..."
VALIGN=top|middle|bottom|baseline
WIDTH=value
BGCOLOR="...">characters...</TD>
Elements Allowed Within...
members of group
Allowed In Content Of...
Variations
The TD element is part of the proposed TABLE construct.
A browser is to assume the table cell ends with the beginning
of the next table cell or the beginning of another table row
or the end of the enclosing TABLE, THEAD, TFOOT, or TBODY element
and thus a closing tag is not required.
This element is an extension in Netscape 1.1 and MS Internet Explorer 2.0.
The values justify|char for the ALIGN attribute
are new and are not widely implemented.
The table proposal states that a browser may display
ALIGN=justify the same as the default
ALIGN=left if it lacks support for text justification.
The AXIS and AXES attributes for cells provide a means for defining
concise labels for cells, either for speech rendering, or for
database field names.
The attribute AXIS defaults to the cell contents.
The AXES is a comma separated list of axis names which together
identify the row and column headers that pertain to this cell.
The NOWRAP attribute will suppress word wrap in the cell.
The ROWSPAN and COLSPAN attributes define the integer number of rows and
columns spanned by the cell. A value of zero for either implies the
cell spans from this cell to the end of the table.
The attribute DP is from an earlier version of the proposal and
was used with a value of decimal on the ALIGN attribute.