The HTMLAllCollection.length property returns the number of items in this HTMLAllCollection.
The HTMLAllCollection.length property returns the number of items in this HTMLAllCollection.
An integer value representing the number of items in this HTMLAllCollection.
| Specification | 
|---|
| HTML Standard  # dom-htmlallcollection-length  | 
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
length | 
6 | 12 | 32 | 11 | 15 | 5 | 3 | 18 | 32 | 14 | 4 | 1.0 | 
    © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
    https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/length