|
<LABEL ...>FOR = "text string"<LABEL ...><LABEL ...>FORFORNAMEID attribute. So, for example, this code associates the text "join mailing list?" with the checkbox field that has the ID "joinlist":
This code:
<TABLE BORDER=1 CELLPADDING=5>
<TR> <TD><LABEL FOR="joinlist">join mailing list?</LABEL></TD>
<TD><INPUT TYPE=CHECKBOX NAME="joinlist" ID="joinlist"></TD>
</TR>
</TABLE>
produces this:
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.