Easy Tutorial
❮ Av Prop Defaultplaybackrate Att Object Vspace ❯

HTML onmouseout Event Attribute

HTML Event Attributes

Example

Run a script when the mouse pointer moves out of an image:


Browser Support

All major browsers support the onmouseout event attribute.


Definition and Usage

The onmouseout attribute is triggered when the mouse pointer leaves the element.

Note: The onmouseout attribute cannot be used with the following elements: <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, or <title>.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
script Specifies the script to run when the onmouseout event is triggered.

❮ Av Prop Defaultplaybackrate Att Object Vspace ❯