<form onReset=””>

Attribute of
<form> HTML Tag
What does <form onReset=""> do?
Runs a script when the Reset button is clicked.

onReset is an event handler that runs a script when the Reset button is clicked. This could be used to display a pop-up confirmation message before the form data is submitted.

Claire is seasoned technical writer, editor and HTML enthusiast.

Browser Support for onReset

AllAllAllAllAllAll