M

Mr. Dubey • 53.48K Points
Coach

Q. How to assign the image source in JavaScript?

  • (A) image = “url”
  • (B) source(“url”)
  • (C) image.src = “url”
  • (D) none of the mentioned
  • Correct Answer - Option(C)
  • Views: 59
  • Filed under category JavaScript

Explanation by: Mr. Dubey
The image source is defined as image.src = “/images/html.gif”.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics