HTMLCollection
Term side of the Card
Topic: Object on Page
Unit title: HTMLCollection
Categories: Object
Explanation side of the Card
Explanation: The browser API object that represents live collection of DOM elements, often returned by methods like `.getElementsByClassName()` and `.getElementsByTagName()`. It updates automatically when the document changes.
Browser compatibility:
- The chrome browser supports this feature starting from version 1
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1
- The safari browser supports this feature starting from version 1
Availability: