Easy Tutorial
❮ Prop Style Bordertopcolor Event Ontoggle ❯

onmouseout Event

Event Object

Example

Execute JavaScript code when the mouse pointer moves out of the specified object:


Definition and Usage

The onmouseout event occurs when the mouse pointer moves out of the specified object.

Syntax

In HTML:

In JavaScript:

Parameter Description
SomeJavaScriptCode Required. Specifies the JavaScript to be executed when the event occurs.

Browser Support

All major browsers support the onmouseout event.


Supported HTML Tags:

The onmouseout attribute can be used with any HTML element, except: <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, and <title>.


❮ Prop Style Bordertopcolor Event Ontoggle ❯