HTML onmouseout Attribute
Example
<img onmousemove="mouseMove(this)" onmouseout="mouseOut(this)" src="smiley.png" alt="Smiley">
Meaning
The onmouseout attribute specifies the script run when the mouse pointer moves out of an element.
Standard Syntax
<element onmouseout="script">
Browser Support
Status
Applies to:
The onmouseout attribute can be used on the following element:
Element | Attribute |
---|---|
All HTML elements. | onmouseout |
Attribute Values
Value | Description |
---|---|
script | Specifies the script to be run on onmouseout. |