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

HTML onmouseover Event Attribute

HTML onmouseover Event Attribute

HTML Event Attributes HTML Event Attributes

Example

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

Smiley

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the onmouseover event attribute


Definition and Usage

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

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