how to use an image as a reset button in html?

if  you want to use an image as reset button so you have to call a predefined function of javascript on onclick event.
simply copy and paste this code in your page and change the image path...

<input type="image" src="images/reset-btn.png" onClick="this.form.reset();return false;">

Comments