[whatwg] pattern-hint

fantasai fantasai.lists at inkedblade.net
Fri Jul 9 05:37:23 PDT 2004


Mark Schenk wrote:

> On Thu, 08 Jul 2004 16:51:33 +0200, fantasai  
> <fantasai.lists at inkedblade.net> wrote:
>
>> Shouldn't that be
>>    <label for="corr">Correspondence Number</label><input id="corr" ... />
> 
> That is also an idea for the UA developers to consider. However, what  
> would take precedence: a label or the title attribute?

Label and title are different. The label is a label for the field.
The title gives additional info, such as a description of what the
field is for or, as WF2 suggests, what sort of input the field takes.

The text you put in your example, IMO, would be more appropriate as
a label.

~fantasai

-- 
http://fantasai.inkedblade.net/contact




More information about the whatwg mailing list