WebBuilder101 - Making the web happen!
Need Web Dev software? Here is the place to
Flash Point

Creating Forms

Here's what the source code means.

<form method="post" action="/cgi/file.asp" name="Input">

As you already know, a form must be enclosed within <form> tags.
Method helps define how the form data will be handled.
Post sends the server a POST request along with a copy of the form's contents to the recipient URL.
Action identifies the URL for the input-handling (form handler) program on the server that receives a form's input.
Name assigns a name to the form. Naming a form is very important since it makes it possible to control it with a scripting language.


<p> <font face="Arial, Helvetica, sans-serif" size="2">Name:
<input type="text" name="Name">

This is the first text box in the form. It will store the name of the person submitting the form.
Input defines an input object within a form.
Type attribute values provide a wide range of input displays and types for form input. Such values can be "text", "button", "checkbox", "radio", "submit", "reset", etc.
Name assigns a name to the field.


<br>
E-mail:
<input type="text" name="E-mail">

This is the second text box in the form. It will store E-mail information.


<br>
Comments<br>
<textarea name="comments" cols="15" rows="5"></textarea>

Textarea is used for longer text fields. It basically serves the same purpose of a text field.
Name assigns a name to the textarea.
Cols sets the width of the text area on screen.
Rows specifies the number of lines of text that can be entered into the textarea.


<br>
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
</font></p>

Submit sends the form data to the form handler.
Reset clears a form's contents.
</form>


See the form here.

 

Back Back to the previous page
.

 

More Resources
Yahoo
Lycos
JavaScripts
Devoloper
Dynamic Sites
Learn the code
What is HTML?
HTML Editors

Suggested Reading

Beginning Active Server Pages 3.0
JavaScript Bible
Red Hat Linux
Dreamweaver 3.0
HTML Bible



Download WB101 Wallpaper
• Web Builder 101 Wallpaper Get it!.
• Find out how to create your own Wallpaper Teach me!.
Sign up for our Newsletters
• Web Building Sign me Up!.
• Net Alert! Sign me Up!.
Need Help?
• Contact Support Click here.
• E-mail the Webmaster Click Here.
• Search Tips Click Here.

Webbuilder101.com © 1998 - 2003 Copyright and Terms of Use
Send mail to: webmaster@webbuilder101.com

» About » Support

» FAQ » What's New » MyLog

Web Builder 101 Web Builder 101 - Making the Web Happen Web Builder 101 - Making the Web Happen
.