hover() method is the combination of ____________

hover() method is the combination of ____________
A. mouseleave() and mouseeneter()
B. mousedown() and mouseenter()
C. mouseup() and mousedown()
D. mouseleave() and mousedown()
 
Answer: a
Explanation: hover() method is the combination of mouseleave() and mouseenter(). It takes two functions. When the mouse leaves HTML element then mouseleave() function is called and when mouse enters HTML element then mouseenter() function is called.
 

Tìm kiếm

Back
Top