Hello.

I'm wondering about the use of the label tag in certain cases where the label relates to multiple fields.

EG:
<label for="time">Time:</label>
<select id="time"><!-- hours-->
<option>01</option>
<option>02</option>
<option>03</option>
...
</select>

<select>
<option>01</option><!-- minutes-->
<option>02</option>
<option>03</option>
...
</select>

<select>
<option>01</option><!-- seconds-->
<option>02</option>
<option>03</option>
...
</select>

Is there a recommended practice here? Should each select box have its own label? Or consider another example where you want to provide 3 text input fields for people with long street addresses.

Also, should the label be descriptive. Can you have a label for="100_x"

Regards,
Stuart Sherwood
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to