Examveda
Examveda

How to assign the image source in JavaScript?

A. image = “url”

B. source(“url”)

C. image.src = “url”

D. none of the mentioned

Answer: Option C

Solution(By Examveda Team)

The image source is defined as image.src = “/images/html.gif”.

This Question Belongs to Javascript >> Animation

Join The Discussion

Related Questions on Animation