Button Field of a Web formWhen 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 :
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.
Example:<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:
This article is written by plus2net.com team.