SQL PHP HTML JavaScript articles and free code
 
 

Button Field


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.


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:



Read how buttons are used as hyper link to visit different pages

Read how form field buttons used to submit user input data to two different pages



Form Fields  | Text Field  | Hidden Field  | Password Field  | TextArea  | RadioButton  | Checkbox  | Button  | Image Button  | Submit Button  | Two Submit Buttons | Submit new window  | Reset Button  | Drop-Down Menu


Sections
PHP
JavaScript
ASP
HTML
SQL
Photoshop
Articles SEO
List of HTML Tutorial
<Form>
HTML Tags
HTML Calendar
Tags on web page
Web Design
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.