RE: Forms

> Am I correct in thinking that the <label> == <id>?  Or is it 
> actually the same 
> as <name>: I have always set "name" and "id" as the same 
> thing.

You don't always do it, example would be radio buttons,
which need to have the same name to effectively be mutually exclusive,
but need a separate ID for the "uniqueness" aspect of it.


<input name="question1" id="question1chicken" type="radio"
value="chicken" /><label for="question1chicken">chicken</label>

<input name="question1" id="question1egg" type="radio"
value="egg" /><label for="question1egg">egg</label>

Patrick H. Lauke
Webmaster / University of Salford

Received on Tuesday, 17 June 2003 06:19:12 UTC