Baseline Widely available
The HTMLTableElement.deleteTFoot()
method removes the <tfoot>
element from a given <table>
.
None.
Return valueNone (undefined
).
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