html Tfoot Tag

In the html <tfoot> tag is used to group row content at footer place .in the <tfoot> tag you must use inside of <thead> and <tbody> elements. In the <thead> tag is used to group content in the head section and <tbody> tag is used to group content in the body section. In this <table> you can use to large tables.in this tag supported to all main browser.

Syntax:

<table>
  <tfoot> ... </tfoot>
</table>

Example Code

<table>
  <thead>
  <tr>
    <th>Car Names</th>
    <th>Price</th>
  </tr>
  </thead>
  <tfoot>
  <tr>
    <td>Defender</td>
    <td>3008899</td>
  </tr>
  </tfoot>
</table>

Out Put:



Car Names Price
Defender 3008899

In the above example <tfoot> tag has been added "Car Names" and "Price"





Content