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 id="tictactoe" summary="A 3 by 3 table 
    representing a completed game of tic tac toe 
    in which neither player has won.">
  <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>
      <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:

Table 1
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