Idocs Guide to HTML

Attribute for <OPTION ...>

VALUE indicates the value that is sent to the server if that option is chosen. The value of VALUE is not seen by the user.

this code produces this select list
<SELECT NAME="partnumber">
<OPTION VALUE="7382">steam turbine
<OPTION VALUE="2928">resistor array
<OPTION VALUE="3993">widget analyzer
<OPTION VALUE="9398">fiber identifier

In this example, if you selected the first option, "steam turbine", then the name/value pair


is sent to the CGI.

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.