How to get a particular value using the tagged name?

How to get a particular value using the tagged name?
A. getElementbyID()
B. getElementsbyName()
C. getElementsbyTagName()
D. getTagName()
 
Answer: c
Explanation: The getElementsByTagName() method returns a collection of all elements in the document with the specified tag name, as a NodeList object. The method getElementsbyTagName() can be used to get a particular value using the tagged name associated with the document.
 

Tìm kiếm

Back
Top