|
|
Forms TutorialForms are a method of creating interactive pages where the reader can answer questions and send their response to you. Forms are a very complex topic, and cannot be fully covered in one small period, so this will just be a very basic introduction. At the start of any form area, you must declare that you are making a form, and give some information to the browser about what to do with it. This is done in the form tag, through the two required parameters, action and method. To create a form which uses the mailto action: <form action="mailto:Yourname@email.com" method="post" name="My Form" enctype="text/plain"> The action parameter specifies where the results from the
form will be sent, and the method parameter specifies how that information
will be sent there. At the end of the form, you must close the form tag
(</form>). Inside the FormInside of the form, you can specify any kind of HTML codes you wish, but the only ones which will be important for the form are the input types and the submit tags. The name parameter are the headings that appear on the form and help to organize the data within. The following are different input types:
An example of a radio box and a checkbox: |
|
|||||||
|
home | tips & tricks | tutorials | tools | resources | contact | advertise © 2000 - 2001 GT Media Inc. All rights reserved. |