![]() |
VOOZH | about |
The DOM onmousemove event in HTML occurs when the pointer is moved over an element.
Supported Tags: It supports All HTML elements, EXCEPT:
Syntax:
<element onmousemove="myScript">
object.onmousemove = function(){myScript};object.addEventListener("mousemove", myScript);
Example: Using the addEventListener() method
Output:
Supported Browsers: The browsers supported by DOM onmousemove event are listed below: