Example
Execute a section of JavaScript when the mouse pointer moves over the image:
<img onmouseover="bigImg(this)" src="smiley.gif" alt="Smiley">
Browser support
IE
Firefox
Chrome
Safari
Opera
All major browsers All browsers support the onmouseover attribute.
Definition and Usage
The onmouseover attribute is triggered when the mouse pointer moves over the element.
Note: The onmouseover attribute does not apply to the following elements:
, , ,