A RetroSearch Logo

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

Search Query:

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

HTMLTableElement: deleteTFoot() メソッド - Web API

HTMLTableElement: deleteTFoot() メソッド

Baseline Widely available

HTMLTableElement.deleteTFoot() は、 <tfoot> 要素をこの <table> から取り除きます。

構文 引数

なし。

返値

なし (undefined)。

例

この例は、 JavaScript を使用して表のフッターを削除します。

HTML
<table>
  <thead>
    <th>名前</th>
    <th>スコア</th>
  </thead>
  <tr>
    <td>Bob</td>
    <td>541</td>
  </tr>
  <tr>
    <td>Jim</td>
    <td>225</td>
  </tr>
  <tfoot>
    <th>平均</th>
    <td>383</td>
  </tfoot>
</table>
JavaScript
let table = document.querySelector("table");
table.deleteTFoot();
結果 仕様書 ブラウザーの互換性

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.4