HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The onmousemove attribute fires when the pointer is moving while it is over an element."
The onmousemove attribute fires when the pointer is moving while it is over an element.
The onmousemove attribute is part of the Event Attributes, and can be used on any HTML elements.
Elements | Event |
---|---|
All HTML elements | onmousemove |
Execute a JavaScript when moving the mouse pointer over an image:
<img onmousemove="bigImg(this)" src="smiley.gif" alt="Smiley">
Event Attribute | |||||
---|---|---|---|---|---|
onmousemove | Yes | Yes | Yes | Yes | Yes |