|
|
home
/ reference
/ html
<select></select>

name
size
multiple
Must be used in conjunction with the <form> tag. Allows for the user to make a selection from a list, drop-down box style.
<select name="">
| |
Description
| |
Specifies the name of this particular selection box.
|
Code
| |
<select name="somename">
<option value="option1">An option
<option value="option2">Another option
<option value="option3">A third option
</select>
|
Appearance
|
<select size="">
| |
Description
| |
Specifies the number of items in the list to show at one time.
|
Code
| |
<select size="somenumber">
<option value="option1">An option
<option value="option2">Another option
<option value="option3">A third option
</select>
|
Appearance
|
<select multiple>
| |
Description
| |
When this keyword is present, the user may select more than one choice. On some systems, the user may need to hold down the control or shift key to do so.
|
Code
| |
<select size="somenumber" multiple>
<option value="option1">An option
<option value="option2">Another option
<option value="option3">A third option
</select>
|
Appearance
|
|