|
<SELECT ...>MULTIPLE MULTIPLESIZE
| this code | produces this |
<SELECT NAME="toppings" MULTIPLE SIZE=5> <OPTION VALUE="mushrooms">mushrooms <OPTION VALUE="greenpeppers">green peppers <OPTION VALUE="onions">onions <OPTION VALUE="tomatoes">tomatoes <OPTION VALUE="olives">olives </SELECT> |
How you go about selecting the options you want depends on the browser, but for most browsers you hold down the CONTROL key while you click on the options you want. Unfortunately this is confusing for many users. For shorter selection lists, it is much more intuitive to use checkboxes. Consider if this list of checkboxes is clearer than the multiple selection list above:
| this code | produces this |
<INPUT TYPE=CHECKBOX NAME="mushrooms">mushrooms<BR> <INPUT TYPE=CHECKBOX NAME="greenpeppers">green peppers<BR> <INPUT TYPE=CHECKBOX NAME="onions">onions<BR> <INPUT TYPE=CHECKBOX NAME="tomatoes">tomatoes<BR> <INPUT TYPE=CHECKBOX NAME="olives">olives |
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.