Home / MCQ Bank / Computer
Computer Animation

How to assign the image source in JavaScript?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • image.src = “url”

Related Computer Questions

Which of the following is called address operator? Which of the following is a command line option? What will be the output of the following Python code snippet if x=1? x<<2 Suppose we have a one dimensional array, named 'x', which contains 10 integers. Which of the following is the correct way to allocate memory dynamically to the array 'x' using malloc()? In how many ways templates concept can be used?