Site hosted by Angelfire.com: Build your free website today!

meneonanim.gif (17083 bytes)


mimiforms.gif (17859 bytes)


Questions/Requests??

email4.gif (24497 bytes)

Please "Be Specific"


Now we'll step a little into the gray areas of HTML. Forms are a
way to allow interactive use of your page. Forms allow the user to
enter all sorts of information. That information is sent to a script for processing.

Forms must be used with cgi functions, HTML will only
give the appearance of a form.


Forms begin with the <FORM ACTION="path/script.pl" METHOD="get">
tag and end with </FORM>. In between you can have entry blanks, text areas,
checkboxes, buttons, radio buttons and any usual HTML construct.
path/script.pl is the address of your script. Talk to your system
administrator to find out about that.

Entry Blanks take the form <INPUT NAME=name SIZE=##>.
When the data is sent to the script for processing, every data element
has a name. name is the name the data received from that entry blank will be
called. ## is the number of characters wide the blank will be.
If a user types in more than ## characters, the blank will scroll,
but only ## will be displayed at a time.

Example:

Text Areas are like big entry blanks. Entry Blanks can only be one line,
but Text Areas can be as big as you'd like. The workspace on the
Scratch Pad is a Text Area.
Text Areas take a different form from the other form elements. They begin with <TEXTAREA NAME=name ROWS=## COLS=##> and end with </TEXTAREA>.
Any text between the tags will come up as the default text in the Text Area.
name has the same meaning for all form elements. ## is the number
of ROWS or COLumnS the Text Area will take up. Just like with entry
blanks, if more than that is entered, it will scroll, but it will only display ##x## characters.

Example:

Radio Buttons and Checkboxes take the form
<INPUT NAME=name TYPE="type" VALUE="value">.
type is either radio or checkbox. Checkboxes let the user check
things from a list. Radio Buttons are similar, but only one button with
a particular name came be pressed at a time. So, if you had two
radio buttons named MiMi, the user could only select one of them.
If the user tries to pick a second button, the first one is unselected.
value is the data value the item passes to the script if the item is clicked.
So, if a checkbox named SkeMar with a value of YES was checked,
it would pass the script SkeMar=YES.

Example:

Radio Button #1 Checkbox #1
Radio Button #2 Checkbox #2

Other button types include submit and reset. These buttons take the form: <INPUT TYPE="type" VALUE="value">,
where value is the button's label, such as Return in the example below,
and type is either submit or reset, respectively. submit
is the button the user presses to send in the form. reset clears the
entire form so the user can start over. The "submit" button is necessary.
The form won't work without one. The "clear" button is optional.

Sign Up For a Free Page Somewhere and Try Some of These.

Return to Menu

More TexasCook Destinations

Associates of TxCk Family


Page Design By

**FREE** INCREASE YOUR HITS AND GET 20MB'S OF WEBSPACE! **FREE**

Click Here for Details!
     TEXASCOOK.COM, TEXAS BARBECUE RECIPES
     THE HERSH WEB SITE OBSERVER
     STAR TECHNICAL SERVICES
     QUICK CASH DOWNLINE CLUB
     FREE AUTO-SUBMISSIONS TO OVER 15,929 SITES!