All these forms link to the CGI program expr1.c which simply echoes the values.
This is used to select an option from a pop-up or pull-down menu.
The HTML for the above is
<form action="http://www.scit.wlv.ac.uk/~jphb/encyc/expr1.cgi" method=get> <select name=day> <option>Monday <option>Tuesday <option>Wednesday <option>Thursday <option>Friday </select> <input type=submit> </form>
The select tag has two further attributes size and multiple which control the number of choices displayed and the possibility of multiple choices.
The option tag has two attributes selected and value which allow for an option to appear initially selected and for the associated values to be encoded rather simply using the descriptive text.
Here are all the extras in use.
And here's the HTML
<form action="http://www.scit.wlv.ac.uk/~jphb/encyc/expr1.cgi" method=get> <select name=day size=5 multiple> <option value=1 selected>Monday <option value=2>Tuesday <option value=3>Wednesday <option value=4>Thursday <option value=5>Friday </select> <input type=submit> </form>