Home Html Action Submit Html
Questions:Ask|Latest

 
 

Share on Google+Share on Google+

Action Submit Html

Advertisement
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
tag.

Action Submit Html

     

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-

Output

User name:

 

Download

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 3, 2008

Related Tutorials

Ask Questions?    Discuss: Action Submit Html  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
manoj
June 21, 2012
ask question

i make in html web page in submit button to clik value store in data base give step for data base
DMCA.com