HTML | onmouseout Event Attribute
The onmouseout event attribute works when the mouse pointer moves out of the specified element.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
<element onmouseout = "script">
Attribute value: This attribute contains single value script which works when mouse moves out from the element.
Supported Tags: This attribute is supported by all HTML elements except <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, and <title>.
Example: This example uses onmouseout event to display an alert message when mouse move out from the paragraph element.
Supported Browser:The browser supported by onmouseout Event Attribute are listed below:
- Google Chrome
- Internet Explorer