Which code segment should you use?

You create a Web page that contains the following image element.
<img id="myImage" src="/image1.png" />
You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?
A.

B.

C.

D.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.