YouTip LogoYouTip

Met Table Deletetfoot

Rookie Tutorial -- Learning technology, but also dreams!

Home HTML JAVASCRIPT CSS VUE REACT PYTHON3 JAVA C C++ C# AI GO SQL LINUX VS CODE BOOTSTRAP GIT Local Bookmarks

JavaScript Reference Manual

Overview

JavaScript Objects

  • JavaScript Array Object
  • JavaScript Boolean Object
  • JavaScript Date Object
  • JavaScript Math Object
  • JavaScript Number Object
  • JavaScript String Object
  • JavaScript RegExp Object
  • JavaScript Global Properties/Functions
  • JavaScript Operators
  • JavaScript Error

Browser Objects

  • Window Object
  • Navigator Object
  • Screen Object
  • History Object
  • Location Object
  • Storage Objects

DOM Objects

  • HTML DOM Document Object
  • HTML DOM Element Object
  • HTML DOM Attribute Object
  • HTML DOM Event Object
  • HTML DOM Console Object
  • CSSStyleDeclaration Object
  • DOM HTMLCollection

HTML Objects

  • <a>
  • <area>
  • <audio>
  • <base>
  • <blockquote>
  • <body>
  • <button>
  • <canvas>
  • <col>
  • <colgroup>
  • <datalist>
  • <del>
  • <details>
  • <dialog>
  • <embed>
  • <fieldset>
  • <form>
  • <iframe>
  • <frameset >
  • <img>
  • <ins>
  • <input> - button
  • <input> - checkbox
  • <input> - color
  • <input> - date
  • <input> - datetime
  • <input> - datetime-local
  • <input> - email
  • <input> - file
  • <input> - hidden
  • <input> - image
  • <input> - month
  • <input> - number
  • <input> - range
  • <input> - password
  • <input> - radio
  • <input> - reset
  • <input> - search
  • <input> - submit
  • <input> - text
  • <input> - time
  • <input> - url
  • <input> - week
  • <keygen>
  • <link>
  • <label>
  • <legend>
  • <li>
  • <map>
  • <menu>
  • <menuItem>
  • <meta>
  • <meter>
  • <object>
  • <ol>
  • <optgroup>
  • <option>
  • <param>
  • <progress>
  • <q>
  • <script>
  • <select>
  • <source>
  • <style>
  • <table>
  • <td>
  • <th>
  • <tr>
  • <textarea>
  • <title>
  • <time>
  • <track>
  • <video>

HTML DOM Style Object

HTML DOM td / th Object

Table deleteTFoot() Method

Table Object

Definition and Usage

The deleteTFoot() method is used to remove the <tfoot> element from a table.

Tip: Use the createTFoot() method to create a new tfoot element in the table.

Syntax

tableObject.deleteTFoot()

Browser Support

All major browsers support the deleteTFoot() method

Example

Example

Create and delete tfoot element:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Rookie Tutorial()</title>
<script>
function createTFoot(){
    var x=document.getElementById("myTable");
    if (!x.tFoot){
        var footer=x.createTFoot();
        var row=footer.insertRow(0);
        var cell=row.insertCell(0);
        cell.innerHTML="<b>This is a table footer</b>";
}
}
function deleteTFoot(){
    document.getElementById("myTable").deleteTFoot();
}
</script>
</head>
<body>

<table id="myTable" border="1">
    <tr>
        <td>cell 1</td>
        <td>cell 2</td>
    </tr>
    <tr>
        <td>cell 3</td>
        <td>cell 4</td>
    </tr>
</table>
<br>
<button type="button" onclick="createTFoot()">Create Table Footer</button>
<button type="button" onclick="deleteTFoot()">Delete Table Footer</button>

</body>

</html>

Try it Β»

Table Object

HTML DOM Style Object

HTML DOM td / th Object

Byte Ark Coding Plan

Supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, officially supplied stable and reliable.

Β₯9.9/month

Subscribe Now

Xunfei Starry Sky Coding Plan

Includes free model call quota, DeepSeek, GLM, Kimi, MiniMax, one-stop experience and deployment platform.

Β₯3.9/month

Subscribe Now

Click me to share notes

Category Navigation

  • Python / Data Science
  • AI / Intelligent Development
  • Frontend Development
  • Backend Development
  • Database
  • Mobile Development
  • DevOps / Engineering
  • Programming Languages
  • Computer Fundamentals
  • XML / Web Service
  • .NET
  • Website Construction

Advertisement

Overview

Overview

JavaScript Objects

  • JavaScript Array Object
  • JavaScript Boolean Object
  • JavaScript Date Object
  • JavaScript Math Object
  • JavaScript Number Object
  • JavaScript String Object
  • JavaScript RegExp Object
  • JavaScript Global Properties/Functions
  • JavaScript Operators
  • JavaScript Error

Browser Objects

  • Window Object
  • Navigator Object
  • Screen Object
  • History Object
  • Location Object
  • Storage Objects

DOM Objects

  • HTML DOM Document Object
  • HTML DOM Element Object
  • HTML DOM Attribute Object
  • HTML DOM Event Object
  • HTML DOM Console Object
  • CSSStyleDeclaration Object
  • DOM HTMLCollection

HTML Objects

Online Examples

  • HTML Examples
  • CSS Examples
  • JavaScript Examples
  • Ajax Examples
  • jQuery Examples
  • XML Examples
  • Java Examples

Character Sets & Tools

  • HTML Character Set Settings
  • HTML ASCII Character Set
  • JS Obfuscation/Encryption
  • PNG/JPEG Image Compression
  • HTML Color Picker
  • JSON Formatter Tool
  • Random Number Generator

Latest Updates

  • GraphRAG Getting Started Tutorial
  • Dart Enumerations and Symbols
  • Dart Unit Testing
  • Dart Concurrency and Iso...
  • Dart Stream Flow
  • Dart Asynchronous Programming
  • Dart Package and Library Management

Site Information

  • Feedback
  • Disclaimer
  • About Us
  • Article Archives

Follow WeChat

My Favorites

Mark Article

Browsing History

Clear All

No records yet

← Met Table DeletetheadMet Table Deleterow β†’