Vidyalelo
JavaScript · Q87

Invocation And Performance Navigation

Programming · JavaScript · question 87

Q87

What is the parameter of the method getElementsbyTagName() if we need to get an image?

A.
image
B.
src
C.
img
Answer
D.
imageurl

Answer: Option C

Solution

Answer: Option C
Solution:
The method must look like getElementsbyTageName(“img”) if we need to get an image.