Learn HTML Code Tutorial Reference Guide

Attribute for <OPTION ...>
VALUE

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
</SELECT>

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

partnumber=7382

is sent to the CGI.


 
HOSTING / DESIGN

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2011 HTML Code Tutorial