W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] pattern-hint

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 09 Jul 2004 14:37:23 +0200
Message-ID: <40EE9183.5090407@inkedblade.net>
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
Received on Friday, 9 July 2004 05:37:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:35 UTC