By using the submit button we can send the form data to a back end application or application .And through the back end process we verify and precesses the data. We set the type attribute of the <input> tag to "submit" to place the button on the web page.Now see the result
Example:
<input type="submit" value="Submit" /> <br /> <input type="submit" value="Send" /> <br /> <input type="submit" value="Submit Form" /><br />
Your Result:
You can see here the three submit Buttons.
HTML form Submission -Action
Submission button send the form data into where you want to send the data by action attribute of the <form> element.When we use the Mailto action it means we want to send the data in to our default email client.
Example:
Submission button send the form data into where you want to send the data by action attribute of the <form> element.When we use the Mailto action it means we want to send the data in to our default email client.
Example:
<form method="post" action="mailto:youremail@youremail.com" >
First Name:<input type="text" name="First" size="14" maxlength="14" />
Last Name:<input type="text" name="Last" size="26" maxlength="26" />
<input type="submit" value="Send Email" />
</form>
Your Result:
No comments:
Post a Comment