When is the mouseover event fired?

When is the mouseover event fired?
A. When mouse is moved over a new element
B. When mouse is clicked
C. When mouse is both moved and clicked
D. When mouse is released
 
Answer: a
Explanation: When the user moves the mouse so that it goes over a new element, the browser fires a mouseover event on that element. The onmouseover event occurs when the mouse pointer is moved onto an element, or onto one of its children.
 

Tìm kiếm

Back
Top