Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Forms > <SELECT ...>

Attribute for <SELECT ...>
MULTIPLE

MULTIPLE designates that more than one option in the list can be selected. When creating a multiple list it is almost always a good idea to also use the SIZE attribute.

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

mushrooms
green peppers
onions
tomatoes
olives

<SELECT SIZE="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com