-
hover() method is the combination of ____________.
-
- mouseleave() and mousedown()
- mouseup() and mousedown()
- mousedown() and mouseenter()
- mouseleave() and mouseeneter()
- None of these
Correct Option: D
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.