|
|
<INPUT ...>CHECKED CHECKED
| this code | produces this |
<FORM ACTION="../cgi-bin/mycgi.pl"> <INPUT TYPE=CHECKBOX NAME="maillist" CHECKED>Yes! Put me on the list! <P><INPUT TYPE=SUBMIT VALUE="submit"> </FORM> | |
<FORM ACTION="../cgi-bin/mycgi.pl"> What color would you like?<BR> <INPUT TYPE=RADIO NAME="color" VALUE="green" >Green<BR> <INPUT TYPE=RADIO NAME="color" VALUE="red" >Red<BR> <INPUT TYPE=RADIO NAME="color" VALUE="blue" CHECKED >Blue<BR> <INPUT TYPE=RADIO NAME="color" VALUE="brown" >Brown <P><INPUT TYPE=SUBMIT VALUE="submit"> </FORM> |
Checkboxes are off by default. There is no default for which radio button is on when the form loads; most browsers have none on, some put the first one on.
|
Recommended Resources |
|||
| web hosting tutorials Credit Help |
Search the Internet Search Engine Help |
Low Fat Lifestyle Internet Traffic |
Web
Hosting Web Design |
|
Discount
Hotel Reservations All
Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003 |
|||