FORMS! | Go back to the Main Menu  |
Please take a few moments to tell me something about yourself.
The code for this page is as follows:
<HTML>
<HEAD>
<TITLE>A form with Checkboxes</TITLE>
</HEAD>
<BODY>
<H1 ALIGN="CENTER">Home Page for Petti</H1>
<H2 ALIGN="LEFT">Tell me about yourself</H2>
<P>Please take a few moments to tell me something about yourself.
<FORM METHOD=POST ACTION="MAILTO:[email protected]" ENCTYPE="TEXT/PLAIN"><BR>
<P>Your name:<INPUT NAME="yourname" SIZE=10>
<P>Your email address:<INPUT NAME="email" SIZE=15>
<P>Please type your password <INPUT TYPE=PASSWORD NAME="USER PASSWORD">
<P>Why did you visit this site? <BR>
<INPUT NAME="Petti" TYPE=CHECKBOX VALUE="YES" CHECKED>Petti told me to!<BR>
<INPUT NAME="Curious" TYPE=CHECKBOX>Just curious<BR>
<INPUT NAME="Accident" TYPE=CHECKBOX>Found it by accident<BR>
<INPUT NAME="Other" TYPE=CHECKBOX>Other reason<BR>
<P>What is your favourite TV show?<BR>
<INPUT TYPE=RADIO NAME="TV SHOW" VALUE="Friends">Friends<BR>
<INPUT TYPE=RADIO NAME="TV SHOW" VALUE="The Panel">The Panel<BR>
<INPUT TYPE=RADIO NAME="TV SHOW" VALUE="Better H&G">Better Homes and Gardens<BR>
<P>Who is your best friend?
<P><SELECT NAME="BEST FRIEND">
<OPTION VALUE="PETER">Peter
<OPTION VALUE="TOM">Tom
<OPTION VALUE="DICK" SELECTED>Dick
</SELECT><P>
<HR>Any special comments?<BR>
<TEXTAREA NAME="Comments" ROWS=5 COLS=40>
</TEXTAREA><BR>
<BR>
<P><INPUT TYPE="SUBMIT" VALUE="Submit this form">
<P><INPUT TYPE="RESET" VALUE="Clear and start again">
</FORM>
</BODY>
</HTML>
Go back to the Top | Go back to the Main Menu  |