tfoot

< html‎ | elements
Jump to: navigation, search

tfoot



Summary

The tfoot tag is used to group footer content in an HTML table.


Overview Table

DOM Interface HTMLElement

Examples

The following code example uses the TFOOT element and the TABLE, TBODY, TD, and TR elements to create a table that includes the first row in the table body and the second row in the table footer.

<table>
<tbody>
  <tr>
    <td>This text is in the table body.</td>
  </tr>
</tbody>
<tfoot>
  <tr>
    <td>This text is in the table footer.</td>
  </tr>
</tfoot>
</table>

Notes

Remarks

Valid tags within the TFOOT element include:

  • TD
  • TH
  • TR

You can specify only one tFoot object for any given table object. The table object and its associated elements have a separate table object model, which uses different methods than the general object model. For more information about the table object model, see Building Tables Dynamically. Windows Internet Explorer 8 renders only tables up to 1000 columns. To force Windows Internet Explorer 7 rendering mode, see How Do I Take Advantage of the New Features in Internet Explorer 8.

Standards information


Members

The tFoot object has these types of members:

  • [#events Events]
  • [#methods Methods]
  • [#properties Properties]


Events

The tFoot object has these events. {

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • Building Tables Dynamically

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]