.getElementsByClassName()
Term side of the Card
Topic: Object on Page
Unit title: .getElementsByClassName()
Categories: Method
Explanation side of the Card
Explanation: The browser API method that returns a live `HTMLCollection` of all elements in the document with the specified class name. The elements are returned in the order they appear in the document.
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 3
- The safari browser supports this feature starting from version 3.1
Availability: