A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTFoot below:

HTMLTableElement: deleteTFoot() method - Web APIs

HTMLTableElement: deleteTFoot() method

Baseline Widely available

The HTMLTableElement.deleteTFoot() method removes the <tfoot> element from a given <table>.

Syntax Parameters

None.

Return value

None (undefined).

Examples

This example uses JavaScript to delete a table's footer.

HTML
<table>
  <thead>
    <th>Name</th>
    <th>Score</th>
  </thead>
  <tr>
    <td>Bob</td>
    <td>541</td>
  </tr>
  <tr>
    <td>Jim</td>
    <td>225</td>
  </tr>
  <tfoot>
    <th>Average</th>
    <td>383</td>
  </tfoot>
</table>
JavaScript
let table = document.querySelector("table");
table.deleteTFoot();
Result Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3