class js.html.HTMLCollection
Available on js
Sub classes | ||||
![]() | HTMLOptionsCollection |
|
HTMLCollection
is an interface representing a generic collection of elements (in document order) and offers methods and properties for traversing the list.
Note: This interface is called
HTMLCollection
for historical reasons (before DOM4, collections implementing this interface could only have HTML elements as their items).HTMLCollection
s in the HTML DOM are live; they are automatically updated when the underlying document is changed.
Documentation for this class was provided by MDN.