Vidyalelo
JavaScript · Q54

Invocation And Performance Navigation

Programming · JavaScript · question 54

Q54

How to get a particular value using the tagged name?

A.
getElementbyID()
B.
getElementsbyName()
C.
getElementsbyTagName()
Answer
D.
getTagName()

Answer: Option C

Solution

Answer: Option C
Solution:
The method getElementsbyTagName() can be used to get a particular value using the tagged name associated with the document.