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="value of 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 as text 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


plus2net.com




Post your comments , suggestion , error , requirements etc here .




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2019 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer