<tbody> Table Body

<tbody> is a wrapper element used to hold one or more <row> elements within a <tgroup> to form a <table>. Rows containing column headings should be encoded in <thead>.

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.
  • @lang – not required. Three-letter code that indicates the language in which the element’s contents were written. It should come from ISO 639-2b.
  • @script – not required. Four-letter code that indicates the script in which the element’s contents were written. It should come from ISO 15924.
  • @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.)

Child Elements

<tbody> must contain one or more <row> elements.

Example

This example is modified from the original example file:

<table frame="all" colsep="true" rowsep="true">
	<head>Categorized Restrictions on Access</head>
	<tgroup align="center" cols="3">
		<colspec colname="materialtype" colnum="1"/>
		<colspec colname="usepermitted" colnum="2"/>
		<colspec colname="permissionrequired" colnum="3"/>
		<thead valign="middle">
			<row>
				<entry colname="materialtype">Material Type</entry>
				<entry colname="usepermitted">Use Type</entry>
				<entry colname="permissionrequired">Permission Required</entry>
			</row>
		</thead>
		<tbody valign="middle">
			<row>
				<entry colname="materialtype">Journals</entry>
				<entry colname="usepermitted">Personal notes</entry>
				<entry colname="permissionrequired">none required</entry>
			</row>
			<row>
				<entry colname="materialtype">Journals</entry>
				<entry colname="usepermitted">Publication</entry>
				<entry colname="permissionrequired">Archivist</entry>
			</row>
			<row>
				<entry colname="materialtype">Letters</entry>
				<entry colname="usepermitted">Personal notes</entry>
				<entry colname="permissionrequired">none required</entry>
			</row>
			<row>
				<entry colname="materialtype">Letters</entry>
				<entry colname="usepermitted">Publication</entry>
				<entry colname="permissionrequired">Archivist</entry>
			</row>
			<row>
				<entry colname="materialtype">Class notes</entry>
				<entry colname="usepermitted">Personal notes</entry>
				<entry colname="permissionrequired">Archivist</entry>
			</row>
			<row>
				<entry colname="materialtype">Class notes</entry>
				<entry colname="usepermitted">Publication</entry>
				<entry colname="permissionrequired">Archivist and Headmaster</entry>
			</row>
			<row>
				<entry colname="materialtype">Spell books</entry>
				<entry colname="usepermitted">Personal notes</entry>
				<entry colname="permissionrequired">Archivist and Headmaster</entry>
			</row>
			<row>
				<entry colname="materialtype">Spell books</entry>
				<entry colname="usepermitted">Publication</entry>
				<entry colname="permissionrequired">Not permitted</entry>
			</row>
		</tbody>
	</tgroup>
</table>

Changes from EAD 2002

<tbody> gained @lang and @script elements.

EAD3 Tag Library Entry

View the official tag library entry for <tbody>