|
The NAME and VALUE attributes are
essential and allow you to specify the name and value portion of
the name/value pair that is sent as part of the URL encoded
string. For example, consider the following checkboxes:
Here is the code that we used to make
them.
<FORM>
<TABLE BORDER = "1">
<TR>
<TD>Apples</TD>
<TD><INPUT TYPE = "CHECKBOX"
NAME = "apple_is_checked"
VALUE = "yes"></TD>
</TR>
<TR>
<TD>Oranges</TD>
<TD><INPUT TYPE = "CHECKBOX"
NAME = "orange_is_checked"
VALUE = "yes"></TD>
</TR>
</TABLE>
</FORM>
Notice that if you checked both check
boxes and submitted this data over the web, the URL encoded
string would look like the following:
apple_is_checked=yes&orange_is_checked=yes
|