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/createTBody below:

HTMLTableElement: createTBody() method - Web APIs

HTMLTableElement: createTBody() method

Baseline Widely available

The createTBody() method of HTMLTableElement objects creates and returns a new <tbody> element associated with a given <table>.

Note: Unlike HTMLTableElement.createTHead() and HTMLTableElement.createTFoot(), createTBody() systematically creates a new <tbody> element, even if the table already contains one or more bodies. If so, the new one is inserted after the existing ones.

Syntax Parameters

None.

Return value Examples
let myBody = myTable.createTBody();
// Now this should be true: myBody === myTable.tBodies.item(myTable.tBodies.length - 1)
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