When we create a button, it acts like a generic button. That is, It will not perform any action when we click on it unless some action has been explicitly written by the user.
A generic button can be created as :
<input type="button" name="<Name of the button >" value="<value of the object>">
Attributes of Button Field:
Name: Specifies the name of the object through which it can be referenced. Value: Specifies the value of the button field. This will be the text that is going to be displayed on the button.
<input type="button" name="btn" value="Click">
This places a button within the HTML form, which can be referenced by using its name "btn" and whose value is "Click".
The button will be displayed as below: