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