Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

 

<FORM> ... </FORM> FORM

Description:

The <FORM> tag creates a fill out form. Any HTML coding can be contained within the form. The browser permits the user to enter information in the fields of the form and sends this information to a cgi-bin script on a server identified as a URL by the ACTION attribute.

Attributes:

action - tells your browser where to send the information; this is a CGI program of some kind.

method - there are two method options: 'GET' or 'POST'. The difference is complicated, but in simple terms; 'GET' encodes all the information into the URL that is sent and 'POST' sends the data separately from the actual call to the script.

Example code:

<FORM ACTION="action URL" METHOD=GET/POST>
What is your name?
<BR>
<INPUT NAME="name" VALUE="enter name here" TYPE="text" SIZE=30 MAXLENGTH=3>
<P>
What is your age?
<BR>
<INPUT NAME="Age" VALUE="Young" TYPE="radio" SELECTED>
Young
<BR>
<INPUT NAME="Age" VALUE="Old" TYPE="radio">
Old
<P>
<INPUT VALUE="Submit Your Entry" TYPE="submit">
<INPUT VALUE="Clear This Form" TYPE="reset">
</FORM>

Result:

What is your name?

What is your age?:
Young
Old



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2026 All Rights Reserved
Privacy and Legal