JavaScript deleteTFoot() Method Tutorial

In this section, we will learn that the deleteTFoot() method is and how to use it in JavaScript.

What is deleteTFoot() Method in JavaScript?

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

Note: you can use the createTFoot() method to create a <tfoot> element for a table.

deleteTFoot() Method Syntax:

tableElement.deleteTFoot();

deleteTFoot() Method Parameter

The method does not take an argument.

deleteTFoot() Method Return Value

The method does not return a value.

Example: using deleteTFoot() Method in JavaScript

See the Pen Untitled by Omid Dehghan (@odchan1) on CodePen.

Facebook
Twitter
Pinterest
LinkedIn

Top Technologies