Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML onmousemove Event Attribute

HTML onmousemove Event Attribute

HTML Event Attributes HTML Event Attributes

Example

Run a script when the mouse pointer moves over the specified image:

Smiley

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the onmousemove event attribute


Definition and Usage

The onmousemove attribute is triggered when the mouse pointer moves over an element.

Note: The onmousemove attribute cannot be used with the following elements: , ,
, , ,