|attribute name||possible values||meaning||notes|
|NAME||string||a property name that is used to identify the menu choice when the form is submitted to the server||obligatory; each selected option results in a name/value pair being included as part of the contents of the form|
|SIZE||integer||sets the number of visible choices||applicable when MULTIPLE is set|
|MULTIPLE||MULTIPLE||signifies that the user can make multiple selections from the menu||by default only one selection is allowed|
<SELECT NAME="flavor"> <OPTION VALUE=a SELECTED>Vanilla <OPTION VALUE=b>Strawberry <OPTION VALUE=c>Rum and Raisin <OPTION VALUE=d>Peach and Orange </SELECT>
As an alternative to SELECT, you may wish to consider using a set of INPUT elements with TYPE=CHECKBOX or TYPE=RADIO, typically resulting in a rendering which allows the user see all alternatives at a glance.
You should always provide a default choice
(an OPTION element with attribute
For reasons to this, see my document
Choices in HTML forms.