HTML » form » onreset


The onreset attribute is an event that allows the execution of JavaScript code when the user resets (clears) the form.