In this video tutorial we will learn how to take iuse the getElementsByTagName() method in JavaScript.
The getElementsByTagName() method returns a collection of all elements in the document with the specified tag name, as a NodeList object.
The NodeList object represents a collection of nodes. The nodes can be accessed by index numbers. The index starts at 0.
Video by - Tanmay Sakpal
Simple Snippets Channel link - / simplesnippets