FORMS

 

Sure, reading information on web sites is nice, but wouldn't you like to provide a richer, more interactive experience for your visitors? In that case, you're going to have to use some forms.
Forms are used mainly to process user information. In most cases, you will need a form processing script that serves to transfer the information in the form and do with it what you desire. The most common type of scripts that do this are CGI, ASP, and PHP scripts. Once you have one of these scripts, the HTML code you need to begin your form will look like this:
<form name="myform" action="path to your form processing script" method="post">
More HTML goes here!
</form>
  
In the "More HTML goes here!" part, you can add any of the items below to customize your form.

<input type="text" size="25" value="Initial Value">
<textarea rows="3" cols="5" name="mytextarea">Type here.<textarea>
<select name="mydropdown">
<option value="one">One</option>
<option value="two" selected>Two</option>
<option value="three">Three</option></select>
(note that adding word "selected" makes that choice initially selected)

<input type="checkbox" name="mycheckbox" checked>
(note that adding word "checked" selects the checkbox)

<input type="radio" name="radio1" checked>
<input type="reset" value="Reset">
<input type="submit" value="Submit">



Lets continue on to styling our forms to make them fit the look and style of our site.

 

Hosted by www.Geocities.ws

1