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