Close this window

Using the <thead> tag

Description The thead tag identifies the heading row of a tgroup or entrytbl.
Example
This CNXML:
<table frame="all" id="tictactoe">
  <tgroup cols="3" align="center">
    <colspec colnum="1" colname="c1"/>
    <colspec colnum="3" colname="c3"/>
    <thead>
      <row>
	<entry namest="c1" nameend="c3">
	  A game of tic-tac-toe
	</entry>
      </row>
    </thead>
    <tbody valign="middle">
      <row>
	<entry>x</entry>
	<entry>o</entry>
	<entry>x</entry>
      </row>
      <row>
	<entry>o</entry>
	<entry>x</entry>
	<entry>o</entry>
      </row>
      <row>
	<entry>o</entry>
	<entry>x</entry>
	<entry>o</entry>
      </row>
    </tbody>
  </tgroup>
</table>
	
Results in this display:
A game of tic-tac-toe
x o x
o x o
o x o
Attributes (what's this?)
Children (what's this?)colspec (zero or more), row (one or more)
Parents (what's this?)tgroup, entrytbl
Close this window