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 if an element or HTML tag exists using JavaScript?
How to declare and print value of variable in JavaScript?
JavaScript example to change image on click
Using jQuery add new table row on click
How to set checkbox and radio option checked on load with jQuery?
ES6 method of declaration multiple variables in one line