Vidyalelo
JavaScript · Q85

Document Object Model And Event Handling

Programming · JavaScript · question 85

Q85

When is the mouseover event fired?

A.
When mouse is moved over a new element
Answer
B.
When mouse is clicked
C.
When mouse is both moved and clicked
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
When the user moves the mouse so that it goes over a new element, the browser fires a mouseover event on that element.