Action Submit in Html is used to submit a form, When a user clicks on a submit button, the form is sent to the specific address in the action setting of the <form> tag.
Understand with Example
The Tutorial Illustrates an example from Action Submit Html.In this tutorial, we explain you a code, which helps you in creating a textfield and a submit button. When an user enter some text in the text field User name) and clicks the submit button the input goes to a page called submit. asp which will further process it. Here this has not been done because ASP is a server side programming.
1) name :The name is an internal setting, which give an internal name to the button. The program identify the name and on the basis of name, it handles the form doesn't confuse the button with the other fields.
2)value :This is used to specify the text written
on the button.
<form name="input" action="submit.asp" method="get"> User name: <input type="text" name="user"> <input type="submit" value="submit"> </form>
The html code is saved with .html extension. Paste the path of html code into url of your browsers. Finally the output of code is displayed as-
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial