FORMS


NOTE: C.G.I. SERVICES WILL BE COVERED LATER IN THIS COURSE.


SINGLE LINE TEXT FORMS


First Name:

Last Name:

E-mail:


HERE'S THE CODE:

NOTE: YOU MUST RUN THESE PROGRAMS VERTICAL IN LENGTH OR THEY WILL NOT WORK.

<HTML>

<HEAD>

<TITLE> TITLE NAME HERE</TITLE>

</HEAD>

<BODY>

<FORM ACTION="http://URL-of-CGI"METHOD=POST>

FIRST NAME: <INPUT TYPE=TEXT NAME="FIRST">

LAST NAME: <INPUT TYPE=TEXT NAME="LAST">

E-MAIL: <INPUT TYPE=TEXT NAME="E-MAIL">

<INPUT TYPE=SUBMIT VALUE="SUBMIT">

<INPUT TYPE=RESET VALUE="RESET">

</FORM>

</BODY>

</HTML>

MULTI-LINE TEXT FORM


First Name:

Last Name:

FEEDBACK PLEASE


HERE'S THE CODE.

<HTML>

<HEAD>

<TITLE>TITLE NAME HERE</TITLE>

</HEAD>

<BODY>

<FORM ACTION="http://URL-of-CGI"METHOD=POST>

FIRST NAME: <INPUT TYPE=TEXT NAME="FIRST NAME">

LAST NAME: <INPUT TYPE=TEXT NAME="LAST NAME">

FEEDBACK PLEASE!

<TEXTAREA NAME="ANSWER" ROWS=10 COLS=60 WRAP>

</TEXTAREA>

<INPUT TYPE=SUBMIT VALUE="SUBMIT">

<INPUT TYPE=RESET>

</FORM>

</BODY>

</HTML>

CHECKBOX FORM


WHAT BUGS DON'T YOU LIKE?

ANTS
BEES
FLIES
NATS
TICKS


HERE'S THE CODE:

<HTML>

<HEAD>

<TITLE>TITLE WORDS HERE</TITLE>

</HEAD>

<BODY>

<FORM ACTION="http://URL-of-CGI"METHOD=POST>

<INPUT TYPE=CHECKBOX NAME="ANTS">ANTS

<INPUT TYPE=CHECKBOX NAME="BEES">BEES

<INPUT TYPE=CHECKBOX NAME="FLIES">FLIES

<INPUT TYPE=CHECKBOX NAME="NATS">NATS

<INPUT TYPE=CHECKBOX NAME="TICKS">TICKS

<INPUT TYPE=SUBMIT VALUE="SUBMIT">

<INPUT TYPE=RESET>

</FORM>

</BODY>

</HTML>

C.G.I. SERVICES


LPAGE:HERE

MATT'S SCRIPT ARCHIVE:HERE

NCSA:HERE

YAHOO'S CGI INDEX: HERE


NEXT


QUESTIONS, COMMENTS, HELP!


This Page Hosted Bygeocities Get Your Own Free Home Page