1.

What is the parameter of the method getElementsbyTagName() if we need to get an image?(a) image(b) src(c) img(d) imageurl

Answer» Right choice is (c) img

Explanation: To get the source attribute the parameter is src. The method must look like getElementsbyTageName(“img”) if we need to get an image.


Discussion

No Comment Found

Related InterviewSolutions