◇◆
<td> Table Data Cell (NISO JATS table model)
One ordinary cell in the body of a table, as opposed to a cell in the table
header. (This element is based on and intended to be converted easily to the XHTML
td element.)
Usage/Remarks
The many attributes of <td> provide such functions as horizontal and vertical alignment, column and row spanning,
character alignment, and some basic accessibility features.
Accessibility
The @headers and @scope attributes make tables more accessible by making explicit the relationship between
a table header cell and the cells(s) to which it applies. Table headers are not always
in <th> elements at the top of a table; for example, the cells in the first row of a table
act as “headers” that relate to the rest of the cells in the current row. These two
attributes name the cells that act as headers, either explicitly by referencing their
IDs or by naming a group of cells using a keyword. Screen readers and other Assistive
Technologies use @headers to provide information about the table structure that would be obvious to most sighted
people.
Models and Context
May be contained in
Description
Any combination of:
- Text, numbers, or special characters
- Linking Elements
- Related Material Elements
- <hr> Horizontal Rule
- Emphasis Elements
- <bold> Bold
- <fixed-case> Fixed Case
- <italic> Italic
- <monospace> Monospace Text (Typewriter Text)
- <overline> Overline
- <overline-start> Overline Start
- <overline-end> Overline End
- <roman> Roman
- <sans-serif> Sans Serif
- <sc> Small Caps
- <strike> Strike Through
- <underline> Underline
- <underline-start> Underline Start
- <underline-end> Underline End
- <ruby> Ruby Annotation Wrapper
- <alternatives> Alternatives For Processing
- Inline Display Elements
- Inline Math Elements
- Math Elements
- Other Inline Elements
- Internal Linking Elements
- Baseline Change Elements
- <x> X - Generated Text and Punctuation
- <disp-formula> Formula, Display
- <disp-formula-group> Formula, Display Group
- <break> Line Break
- <chem-struct-wrap> Chemical Structure Wrapper
- Citation Elements
- <disp-quote> Quote, Displayed
- <speech> Speech
- <statement> Statement, Formal
- <verse-group> Verse Form for Poetry
- Lists
- <p> Paragraph
- <answer> Answer to a Question
- <answer-set> Answer Set
- <explanation> Explanation
- <question> Question
- <question-wrap> Question Wrapper
- <question-wrap-group> Question Wrapper Group
- <array> Array (Simple Tabulation)
- <code> Code
- <graphic> Graphic
- <media> Media Object
- <preformat> Preformatted Text
Expanded Content Model
(#PCDATA | email | ext-link | uri | inline-supplementary-material | related-article | related-object | hr | bold | fixed-case | italic | monospace | overline | overline-start | overline-end | roman | sans-serif | sc | strike | underline | underline-start | underline-end | ruby | alternatives | inline-graphic | inline-media | private-char | chem-struct | inline-formula | tex-math | mml:math | abbrev | index-term | index-term-range-end | milestone-end | milestone-start | named-content | styled-content | fn | target | xref | sub | sup | x | disp-formula | disp-formula-group | break | chem-struct-wrap | citation-alternatives | element-citation | mixed-citation | nlm-citation | disp-quote | speech | statement | verse-group | def-list | list | p | answer | answer-set | explanation | question | question-wrap | question-wrap-group | array | code | graphic | media | preformat)*
Tagged Samples
One table row
<td>s contains text and graphics.
... <table-wrap id="t14"> ... <table frame="box" rules="all" cellpadding="5"> ... <tr valign="bottom"> <td align="left" colspan="1" rowspan="1">3</td> <td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4411</td> <td align="center" colspan="1" rowspan="1"> <graphic id="g14" orientation="portrait" position="anchor" xlink:href="d14"/></td> <td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4411</td> <td align="center" colspan="1" rowspan="1"> <graphic id="g15" orientation="portrait" position="anchor" xlink:href="d15"/></td> <td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4414</td> <td align="center" colspan="1" rowspan="1"> <graphic id="g16" orientation="portrait" position="anchor" xlink:href="d16"/></td> <td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4414</td> <td align="center" colspan="1" rowspan="1"> <graphic id="g17" orientation="portrait" position="anchor" xlink:href="d17"/></td> </tr> </table> </table-wrap> ...
Complete table
Includes empty cells
... <table-wrap id="TN0.170"> <caption> <title>Patient Care at End of Follow Up</title> <p>Numbers of patients receiving institutional care at the end of scheduled follow up and use of hospital beds among those allocated to day hospital or alternative services</p> </caption> <table frame="box" rules="all" cellpadding="5"> <thead> <tr> <th colspan="3" align="center" rowspan="1">Institutional care</th> <th></th> <th colspan="2" align="center" rowspan="1"> Bed use (days)</th> </tr> </thead> <tfoot> <tr> <td align="center">Patients</td> <td align="center">Patients</td> <td align="center">Odds ratio</td> <td></td> <td align="center">Patients</td> <td align="center">Patients</td> </tr> </tfoot> <tbody> <tr> <td colspan="3"><hr/></td> <td colspan="2"><hr/></td> </tr> <tr> <th>Control group</th> <th align="center">Day hospital</th> <th align="center">Control</th> <th align="center">Odds ratio (95% CI)</th> <th></th> <th align="center">Day hospital</th> <th align="center">Control</th> </tr> <tr> <td colspan="7"><hr/></td> </tr> <tr> <td>Comprehensive care (5 trials)</td> <td align="center">151/597<xref ref-type="table-fn" rid="TF1-150"></xref></td> <td align="center">159/584</td> <td align="center">0.91 (0.70 to 1.19)</td> <td></td> <td align="center">20.5</td> <td align="center">21.4</td> </tr> <tr> <td>Domiciliary care (4 trials)</td> <td align="center">20/216</td> <td align="center"> 19/227</td> <td align="center">1.61 (0.30 to 8.55)</td> <td></td> <td align="center"> 7.7</td> <td align="center">11.1</td> </tr> <tr> <td>No comprehensive care (3 trials)</td> <td align="center">37/411</td> <td align="center"> 66/403</td> <td align="center">0.50<xref ref-type="table-fn" rid="TF1-151"></xref> (0.26 to 0.96)</td> <td></td> <td align="center">11.2</td> <td align="center">11.7</td> </tr> <tr> <td>Total</td> <td align="center">208/1224</td> <td align="center">244/1214</td> <td align="center">0.77 (0.52 to 1.13)</td> <td></td> <td align="center">15.0</td> <td align="center">16.4</td> </tr> </tbody> </table> <table-wrap-foot> <fn id="TF1-150"><p>Data not available for 1 trial.</p></fn> <fn id="TF1-151"><p>P<0.05 (random effects model).</p></fn> </table-wrap-foot> </table-wrap> ...