Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,260   Yesterday: 1,015   Max: 1,872   Total: 464,313   Current Users : 12 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

Attribute for <LABEL ...>
FOR = "text string"

If the form element that should be associated with the text in <LABEL ...> can't be contained within <LABEL ...>, such as when the form element in another table cell, use FOR. The value of FOR is the ID of the form element. Note that it is not the name of the field (as given with the NAME attribute) it is the ID as given with the ID 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. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.