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 HTML 4.0 (XHTML) table model. (Note: The <table> element is usually just part of what would be called a “table” in print; a full table may include a table caption, a table title, table footnotes, introductory paragraphs, etc., and is created using the <table-wrap> element.)


The standard XHMTL model has been modified to remove the <caption> element from within the <table> element, because, in the base DTD Suite, the <caption> element has been made part of the Table Wrapper <table-wrap> element.


alternate-form-of Alternate Form of Graphic, Media Object, Etc.
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)
summary Summary (XHTML table model)
width Width (XHTML table model; MathML 2.0 DTD)

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 two-part lists, may also be given table titles, captions, etc.

Model Information

Content Model

<!ELEMENT %table.qname;  %table.content; >


The following, in order:

This element may be contained in:

<table-wrap> Table Wrapper

Tagged Example

<sec id="bid.268">
<table-wrap id="bid.269">
<title>Files on the taxonomy FTP site.</title>
<th align="left" valign="top">File</th>
<th align="left" valign="top">Uncompresses to</th>
<th align="left" valign="top">Description</th>
<td align="left" valign="top">taxdump.tar.Z<xref ref-type="fn" 
<td align="left" valign="top">readme.txt</td>
<td align="left" valign="top">A terse description of the dmp 
<td align="left" valign="top"/>
<td align="left" valign="top">nodes.dmp</td>
<td align="left" valign="top">Structure of the database; lists 
each taxid with its parent taxid, rank, and other values 
associated with each node (genetic codes, etc.)</td>
<fn symbol="a" id="mul2">
<p>For non-UNIX users, the file taxdmp.zip includes the 
same (zip compressed) data.</p>
<p>Each taxon in the database has a unique identifier, 
its taxid. ...</p>