SQL PHP HTML JavaScript articles and free code
 

Submit Button


Submit buttons have a special purpose. i.e, when the submit button is clicked, then the form will be submitted to the page specified in the action attribute of the form tag along with its data.
Submit button can be created as :
<input type="Submit" name="<Name of the submit button >" value="valueof the button">

Attributes of Submit Button:
Name: Specifies the name of the object through which it can be referenced.
value: Specifies the value of the submit button. this will be displayed on the submit button.

Example:
<input type="submit" name="submitbtn" value="Submit">

This places a submit button within the HTML form, which can be referenced by using its name "submitbtn"
The submit button will be displayed as below:


How to submit form to a new window and using two submit buttons in one form

Read how form validation is done by using Javascript


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.