Close this window

Using the <tfoot> tag

Description

The tfoot tag identifies the rows of footer information that are displayed after the tbody.

Example

This CNXML:


<table frame="all" id="tictactoe">
  <tgroup cols="3" align="center">
    <colspec colnum="1" colname="c1"/>
    <colspec colnum="2" colname="c2"/>
    <colspec colnum="3" colname="c3"/>
    <tfoot>
      <row>
	<entry namest="c1" nameend="c3">
	  A game of tic-tac-toe
	</entry>
      </row>
    </tfoot>
    <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:

x o x
o x o
o x o
A game of tic-tac-toe

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