onmouseover image change in html

onmouseover image change in html : For give small small look and feel in website, we can use onmouse hover function for change the image.

Use this code:

<img src=”one.png” onmouseover=”this.src=’two.jpg'” onmouseout=”this.src=’one.png'”/>

Note: All Browser support i.e. Google Chrome, Safari, Firefox, Internet Explorer, Opera and many more.


Coding Tag

Coding Tag always happy to serve you in Information Technology (IT). Learn HTML, CSS, Javascript, PHP, Android, Digital Marketing, Latest IT News and many more.

Leave a Reply

Notify of