Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Forms

<LABEL ...>

<LABEL ...>, an HTML 4.0 element supported by MSIE and Netscape 6, defines a set of text that is associated with a particular form element. For example, this code indicates that the phrase "send more information" is associated with the moreinfo checkbox because the checkbox is within the <LABEL ...> element:

this code produces this
<LABEL FOR="moreinfo">
send more information 
<INPUT NAME="moreinfo" TYPE=CHECKBOXID="moreinfo">
</LABEL>

The FOR attribute is required. The value of FOR should be the same as the value of ID in the form field that the label applies to.

You can also associate a <LABEL ...> with a field that is not within its contents. See the FOR attribute.

<LABEL FOR="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com