how to reset in html code example
Example 1: reset button html
<input type="reset" value="Reset" />
Example 2: javascript clear form after dubmit
//Get form by Id
var form = document.getElementById("MusicForm");
form.target.reset();
<input type="reset" value="Reset" />
//Get form by Id
var form = document.getElementById("MusicForm");
form.target.reset();