<table> Table

<table> is a wrapper element for formatting information for display in rows and columns. It may occur within: <accessrestrict>, <accruals>, <acqinfo>, <altformavail>, <appraisal>, <arrangement>, <bibliography>, <bioghist>, <blockquote>, <controlaccess>, <custodhist>, <daodesc>, <descgrp>, <div>, <dsc>, <dscgrp>, <event>, <extref>, <extrefloc>, <fileplan>, <index>, <item>, <note>, <odd>, <originalsloc>, <otherfindaid>, <p>, <phystech>, <prefercite>, <processinfo>, <ref>, <refloc>, <relatedmaterial>, <scopecontent>, <separatedmaterial>, <titlepage>, and <userestrict>.

Attributes

  • ALTRENDER – not required. Use if the content of the element should be displayed or printed differently than the rendering established in a style sheet for other occurrences of the element.
  • AUDIENCE – not required. Use to set whether the element’s contents will be visible to external users or to internal ones. Possible values are: “internal” and “external.”
  • ID – not required. Creates an ID for element. Can be used for linking.
  • COLSEP – not required. May be used to specify a rule “1” (or “0” for no rule) which will print or display between each column (can be overriden at a lower level).
  • FRAME – not required. May be used to specify a rule for the edges of the table. Values are “top,” “bottom,” “topbot” (for both top and bottom), “all,” “sides,” or “none.”
  • PGWIDE – not required. May be used to specify whether the table runs the width of the page or the width of the column(s). “1” fills page, “0” (default) is only by column.
  • ROWSEP – not required. May be used to specify a rule “1” (“0” for no rule) which will print or display below each row (can be overriden within the rows).

Subelements

<table> may contain <head> and should contain <tgroup>.

Examples

The following example is taken from the Library of Congress tag library:

<table frame="none">
	<tgroup cols="3">
	<colspec colnum="1" colname="1" align="left" colwidth="50pt"/>
	<colspec colnum="2" colname="2" align="left" colwidth="50pt"/>
	<colspec colnum="3" colname="3" align="left" colwidth="50pt"/>
	<thead>
		<row>
			<entry colname="1">Major Family Members</entry>
			<entry colname="2">Spouses</entry>
			<entry colname="3">Children</entry>
		</row>
	</thead>
	<tbody>
		<row>
			<entry colname="1">John Albemarle (1760-1806)</entry>
			<entry colname="2">Mary Frances Delaney (1769-1835)</entry>
			<entry colname="3">John Delaney Albemarle (1787-1848)</entry>
			</row> . . .
		</tbody>
	</tgroup>
</table>

EAD tag library entry for <table>.