When are the mouse events generated?
A
When user clicks the mouse over a document
B
When user moves over a document
C
On pressing a key
D
When user clicks or moves the mouse over a document
Correct Answer: When user clicks or moves the mouse over a document
Mouse events are generated when the user moves or clicks the mouse over a document. These events are triggered on the most deeply nested element that the mouse pointer is over, but they bubble up through the document.