Baseline Widely available
The HTMLTableElement.tBodies
read-only property returns a live HTMLCollection
of the bodies in a <table>
.
Although the property is read-only, the returned object is live and allows the modification of its content.
The collection returned includes implicit <tbody>
elements. For example:
<table>
<tr>
<td>cell one</td>
</tr>
</table>
The HTML DOM generated from the above HTML will have a <tbody>
element even though the tags are not included in the source HTML.
A live HTMLCollection
.
This snippet gets the number of bodies in a table.
Specifications Browser compatibility See alsoRetroSearch 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