[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
HTMLSPEC-FORM

FORM

Usage

Used to establish a foundation for data-entry forms within a web document. All other <form> elements must be placed within the opening and closing <form> tags.

Attributes

action=""


Specifies the URL of the CGI program located on a web server which will process all active form data elements.

		
method=""


Specifies the way in which the form data will be transferred to the HTTP server. Method options are "get" and "post" with "get" being the default method type.

enctype=""


Specifies the way in which the form data will be encoded before it is transferred to the HTTP server.

Code Tip

An HTML form can be easily created for a web page, but creation of a CGI script to process the form data can be quite involved. A form only provides a visual appeal until a CGI script has been created to process the form data.

Live Example

<html>
<head><title>Form Document Example</title></head>
<body>
<form action="processForm.php" method="post">
.<br>
.<br>
.<br>
</form>
</body>
</html> 


HTML Tags Center

last edited (April 12, 2004) by leeos, Number of views: 1488, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.