HTMLAllCollection: length property

The HTMLAllCollection.length property returns the number of items in this HTMLAllCollection.

Value

An integer value representing the number of items in this HTMLAllCollection.

Specifications

Specification
HTML
# dom-htmlallcollection-length

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
length

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also