H Huyền Thu New member Sep 19, 2021 #1 How to assign the image source in JavaScript? A. image = “url” B. source(“url”) C. image.src = “url” D. img.src=”url”
How to assign the image source in JavaScript? A. image = “url” B. source(“url”) C. image.src = “url” D. img.src=”url”
D Dương Mạnh Cường New member Sep 19, 2021 #2 Answer: c Explanation: For accesing any image in webpage its address or url is specified. The image source is defined as image.src = “/images/html.gif”. Upvote 0 Downvote
Answer: c Explanation: For accesing any image in webpage its address or url is specified. The image source is defined as image.src = “/images/html.gif”.