HTML Page Structure

HTML Elements
HTML Attributes


HTML Reset Tag

HTML Reset Tag is used to reset form fields. By clicking on a reset button, user clears his web form. Reset button deletes values from all fields by resetting the form to its default value.

Syntax

<form>
	<input type=reset value="Reset">
</form>

Example

<!DOCTYPE html>
<html>
<head>
<title>My HTML Submit Input Tag Example</title>
</head>
<body>
<form>
      What is your favourite color?
      <p>
        <input type="radio" name = "color" value="r"/>Red
     </p>
      <p>
        <input type="radio" name = "color" value="y" checked/>Yellow
      </p>
	  <p>
        <input type="radio" name = "color" value="g"/>Green
      </p>
	  <p>
        <input type=reset value="Reset"/>
      </p>
</form>
</body>
</html>

This will produce following result

What is your favourite color?

Red

Yellow

Green