Microsoft
98-382 · Question #39
You are creating a dynamic HTML page by using JavaScript. Your page has an image of the sun. When the user's mouse pointer moves across the image of the sun, the image should change to the image of…
The correct answer is B. onmouseout. See the full explanation below for the reasoning.
Question
You are creating a dynamic HTML page by using JavaScript. Your page has an image of the sun. When the user's mouse pointer moves across the image of the sun, the image should change to the image of the moon. When the user's mouse pointer is no longer over the image should change back to the image of the sun. You need to write to code for the image swap. Which two events must you program for? (Choose two.)
Options
- Aonmouseup
- Bonmouseout
- Conmousedown
- Donmouseover
- Eonmouseenter
How the community answered
(34 responses)- A9% (3)
- B74% (25)
- C3% (1)
- D3% (1)
- E12% (4)
Community Discussion
No community discussion yet for this question.