The onClick property is an event handler used to handle the event of a mouse click on the Reset button. Example of the reset onClick event handler Enter Name: Enter Phone: onClick='alert("The reset button was clicked")'>