<LABEL>, an HTML 4.0 element supported through MSIE & Netscape 6, describe a set of text that is linked with a specific form element. For instance, the code below specifies that the phrase "send more information" is linked with the "moreinfo" checkbox since the checkbox is inside the <LABEL> element:
<HTML>
<BODY>
<LABEL FOR="moreinfo">
send more information
<INPUT NAME="moreinfo" TYPE=CHECKBOX ID="moreinfo">
</LABEL>
</HTML>
The FOR attribute is needed in the above example. The value of FOR must be the same as the value of ID in the form field that the label applies to.
You can also attach a <LABEL> with a field that is not inside its contents using the FOR attribute.