<row> is a formatting element which contains <entry> elements (horizontal cells) in a <table>. It may be used within <thead> to contain a row of header cells or within <tbody> to contain rows of regular cells.
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.
- ROWSEP – not required. May be used to specify a rule “1” (“0” for no rule) which will print or display below the row.
- VALIGN – not required. May be used to specify the alignment of text within the row. Values are “top,” “middle,” or “bottom.”
Subelements
<row> may contain <entry> elements.
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> |