Difference between revisions of "Tfoot (HTML element)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Description)
(External links)
Line 43: Line 43:
 
== External links ==
 
== External links ==
  
* [https://www.w3.org/community/webed/wiki/HTML/Elements/tfoot tfoot] @ w3schools.com
+
* [https://www.w3.org/community/webed/wiki/HTML/Elements/tfoot tfoot] @ w3.org
 
+
  
 
[[Category:HTML elements]]
 
[[Category:HTML elements]]

Revision as of 05:59, 2 May 2016

In HTML, the tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table.

Description

As a child of a table element, after any caption, colgroup, and thead elements and before any tbody and tr elements, but only if there are no other tfoot elements that are children of the table element.

Or, as a child of a table element, after any caption, colgroup, thead, tbody, and tr elements, but only if there are no other tfoot elements that are children of the table element.

Examples

<table>
  <caption>
    <p>table 1. List of HTML elements</p>
  </caption>
  <thead>
    <tr>
      <th>Number</th>
      <th>element</th>
    </tr>
  </thead>
  <tfoot>
    <tr>
      <td colspan="2">copyright ...</td>
    </tr>
  </tfoot>
  <tbody>
    <tr>
      <td>4.1.1</td>
      <td>html</td>
    </tr>
    <tr>
      <td>4.2.1</td>
      <td>head</td>
    </tr>
  </tbody>
</table>

See also

External links