Please
note that in order to make forms work, you will need to run a CGI script.
The HTML just creates the appearance of the form.
<form></form>
Defines the beginning
and the end of the form.
<select></select>
Creates a text pulldown
menu.
Attributes:
<select multiple>:
creates a scrolling menu rather than a pulldown menu, so that you can
select more than one item.
<select name="?">:
gives the menu a name, so that the CGI form will know what to associate
the entered value with.
<select size="?">:
sets the number of menu items visible before you need to scroll. Used
with <select multiple>.
<option>
Sets off each menu
item. Used within <select></select>.
<textarea></textarea>
Creates a text box
area. Use this if you want the user to be able to enter large amounts
of text; use <input type=text>
if you just want to have the user enter a couple of words or one line
of text.
Attributes:
<textarea name="?">:
gives the text area a name, so that the CGI form will know what to associate
the entered value with.
<textarea cols=?>:
sets the width of the text area.
<textarea rows=?>:
sets the height of the text area.
<input></input>
Creates an input
area, whether it be a text input or a checklist.
Attributes:
<input type="checkbox"
name="?" checked>: creates a checkbox. To have the
checkbox checked by default, enter "checked" as part of the
attributes. Otherwise, leave it out. ex.
<input type="radio"
name="?"
checked>:
creates a radio button. To have the radio button selected by default,
enter "checked" as part of the attributes. Otherwise, leave
it out. ex.
<input type="text"name="?"
size=?>:
creates a single-line text input area. Size sets the lenght of the area,
in number of characters. For the default length, leave out the size
attribute. ex.
<input type="submit"
value="Submit">: creates a Submit button. To change
the name of the button, change value
from "Submit" to something else.
ex.
<input type="reset">:
creates a reset button. To change the name of the button, change value
from "Reset" to something else.
ex.