<thead> Table Head

<thead> is a formatting element which contains <row> elements, which contain <entry> elements (horizontal cells) in a <table>. This row (generally only one) forms the header of a table and contains column headings. It may be used within <tgroup> and is distinct from <tbody>, which contains the rest of the table’s rows. It may also be used to provide column headings for <c>, <c01> through <c12>, and <dsc>.

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.
  • VALIGN – not required. May be used to specify the alignment of text within the rows. Values are “top,” “middle,” or “bottom.” (<row> and <entry> may override this individually.)

Subelements

<thead> may contain <row>s.

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 <thead>.