WML: user input (continued)
select, option: allow the user to choose from a list of options
<p>Please select your menu:
<select name=“sel” multiple=“true”>
<option value=“beer”>Beer</option>
<option value=“pizza”>Pizza</option>
<option value=“hotdog”>Hot dog</option>
Notes:
You can specify either a single-choice or a multiple-choice list using the multiple attribute. A variable whose name is given by the name attribute of the select element will be setup with the value of the user’s selection. If multiple selections are allowed, all the selected values appear in the value, separated by semi-colons.