Example
<!DOCTYPE html>
<html>
<head>
<title>onmouseover and onmouseout</title>
</head>
<body>
<img src="http://placehold.it/350x150" onmouseover="this.src='http://placehold.it/200x200';"
onmouseout="this.src='http://placehold.it/350x150';" />
</body>
</html>
Most Helpful This Week
How to check a variable is undefined in JavaScript?
JavaScript example to change image on click
How to declare and print value of variable in JavaScript?
JavaScript convert string variable in boolean using Regex
How to scroll page to particular Div on click using jQuery?
jQuery check if an element is visible or hidden