Development| HTML| JavaScript| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
HTML Post Form 
 

The HTML process the submission of form in two different ways. In HTML, the method is declared inside a FORM element.

 

HTML Post Form

                         

The HTML process the submission of form in two different ways. In HTML, the method is declared inside a FORM element. The form method is  used to send the form data in the form of message. The Post method in HTML is used for storing, updating, storing and sending E-mail. When a user process the submit request in a browser, The request form is submitted in the encoded form, which depends on the encrypted attribute.

Understand with Example

The Tutorial illustrates an example from HTML Post Form. In this Tutorial, the code explain you a post method in HTML. For this we create a html page name post.html. In this html page, When a user click on the submit button, a new page is displayed i.e post.htm.  The attribute used in form action is post method. The post method in this code is used to transfer the data in encoded form and the user is not able to see the data that was sent. The post method is used for sending the data in a bulk amount. 

The post.html code is saved in the webapps folder of Tomcat(version installed in your computer). When a user enter the information and click on a send button of post.html, the <form action> redirect to the get.html page.

<html>
<body>
<FORM ACTION="get.html" METHOD=POST>
<P>Please Fill the Registration Form</p><br>
Enter Your Name<input type="text" name="username"><br>
Enter Your Credit Card Number<input type="text" name="credit Number"><br>
<input type="submit" value="send">
</FORM>
</body>
</html>

When a user enter the information and click on a send button of post.html.the output on the browser is displayed as below-

The <form action> redirect to the get.html page. The get.html show you a html page on the browser which shows you a requested form is submitted in the encoded form. The data sent to the get.html is not visible in  the browser to the user.

<html>
<body>
<FORM ACTION="">
<P>Please Fill the Registration Form</p><br>
Enter Your Name<input type="text" Value="username"><br>
Enter Your Email Address<input type="text" value="credit Number"><br>
<input type="submit" value="send">
</FORM>
</body>
</html>

Output is displayed as

Download Source

                         

» View all related tutorials
Related Tags: html c object objects sed graph tag line app horizontal to lines between e li paragraph use ul apply in

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Training Courses
Tell A Friend
Your Friend Name
Software Solutions
Least Viewed
Most Rated
Recently Viewed
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.