Label for checkboxes and other input fields

Anish Mistry mistry.7 at osu.edu
Sat Dec 31 08:20:30 PST 2005


By using the <label> tag to denote actual input field labels (eg.  
radio, checkbox) you can make things much more useable.  You can then 
click on the label to tick the checkbox or radio button.
eg.  Change the following on the mailling list search page from:
<td><input type="CHECKBOX" name="source"
value="freebsd-acpi" />
<strong>ACPI</strong></td>
<td>ACPI and power management development</td>
To:
<td><input type="CHECKBOX" name="source"
value="freebsd-acpi" id="freebsd-acpi" />
<label for="freebsd-acpi">ACPI</label></td>
<td>ACPI and power management development</td>

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-www/attachments/20051231/8b804ebf/attachment.bin


More information about the freebsd-www mailing list