HTML onmouseout event properties
Examples
Run the script when the mouse pointer out of the picture:
<img onmouseout="normalImg(this)" src="smiley.gif" alt="Smiley">
try it"
Browser Support
All major browsers support onmouseout event properties
Definition and Usage
onmouseout attribute triggered when the mouse pointer remove elements.
Note: onmouseout attribute can not be used on the following elements: <base>, <bdo> , <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, or <title>.
Differences between HTML 4.01 and HTML5
no.
grammar
<elementonmouseout=" script ">
Property Value
值 | 描述 |
---|---|
script | 规定该onmouseout事件触发时执行的脚本。 |
HTML Event Attributes