<table>

Table (XHTML table model)

The rows and columns part of a full table. The standard XHTML table model has been used to take advantage of existing software for table handling. For more complete information on this table model, see the documentation for the XHTML table model.

Note: This element contains only the rows and columns of the table, which is typically just part of what would be called a “table” in print or display. A full table might also include a table number (label), a table title, a table caption, table notes and footnotes, introductory paragraphs, etc., so a full table is tagged using the <table-wrap> element. IF the complex table contains rows and columns, <table-wrap> will contain a <table> as well as other content.)

Remarks

Modifications to XHTML Tables. The standard XHMTL model has been modified to remove the <caption> element from within the <table> element, because, in this DTD, the <caption> element has been made part of the <table-wrap> element.

Paragraphs in Table Cells. <p> elements are not allowed inside table cells. When needed, line breaks should be made using the <break> element.

Attributes

border Border (Frame) around a Table (XHTML table model)
cellpadding Cell Padding (XHTML table model)
cellspacing Cell Spacing (XHTML table model)
content-type Type of Content
frame Frame (XHTML table model)
id Identifier
rules Rules (XHTML table model)
style Style (XHTML table model; MathML 2.0 Tag Set)
summary Summary (XHTML table model)
width Width (XHTML table model; MathML 2.0 Tag Set)

Related Elements

The <table> element is an element defined by a public table model such as the XHTML table model. This element is not, in itself, a full table, but only the rows and columns portions of a table. A full table may have other features, such as a title, caption, table footnotes, etc. The <table-wrap> element contains the full table. A full table may or may not include a <table> element within it, since other constructions, such as 2-part lists, may also be given table titles, captions, etc.

Expanded Content Model

((col* | colgroup*), ((thead?, tfoot?, tbody+) | (tr+)))

Description

The following, in order:

Example

...

<floats-group>
<table-wrap id="tbl1" position="float">
<label>1</label>
<caption><title>Age Group Differences in Central Study Variables</title></caption>
<graphic copyright="inherit" id="tbl1a" xlink:href="pag_28_1_148_tbl1a.tif"/>
<table>
<colgroup>
<col align="left"/>
<col align="char" char="."/>
<col align="char" char="."/>
<col align="left"/>
<col align="char" char="."/>
</colgroup>
<thead valign="bottom" align="center">
<tr>
<th></th>
<th>Younger adults <italic>M</italic> (<italic>SD</italic>)</th>
<th>Older adults <italic>M</italic> (<italic>SD</italic>)</th>
<th>Age group difference</th>
<th>Cohen's <italic>d</italic></th></tr>
</thead>
<tfoot valign="top">
<tr>
<td align="left" colspan="5"><sup>a</sup>&#x2009;<italic>n</italic> = 197.&#x2003;<sup>b</sup>&#x2009;Fixed effect and random variation around fixed effect (<italic>SD</italic>) generated with multilevel modeling.</td></tr>
<tr>
<td align="left" colspan="5">&#x2217;&#x2009;<italic>p</italic> = .05.</td></tr>
</tfoot>
<tbody valign="top">
<tr>
<td>Number of days with stressors</td>
<td>37&#x2009;(27)</td>
<td>25&#x2009;(25)</td>
<td><italic>F</italic>(1, 202) = 10.36*</td>
<td>0.46</td></tr>
...</tbody>
</table>
</table-wrap>
</floats-group>
...

Module

xhtml-table-1.mod