Syntax
onMouseOut="command"
The onMouseOut event handler is invoked when the user moves the mouse pointer into the region defined by the tag.
<html> <body> <map name="clothesMap"> <area name="redShirt" coords="1,1,48,48" href="http://www.java2s.com" target="_top" onMouseOut="alert('Mouse out?')"> </map> <img src="http://www.java2s.com/style/logo.png" align="top" height="100" width="100" usemap="#clothesMap"> </body> </html>