A <button>
element with the type
attribute set as reset
has a
a special job: it helps to clear
the form.
Take a look at this example:
In the code above, if you click
on the button of the type reset
,
it will remove all information
that you have entered in the form.
This way, it will reset the form
to its original condition.