[whatwg] Placeholder option for text input boxes

Please demonstrate a *valid* example of a placeholder containing a hint.
Chris

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Andy Lyttle
Sent: Tuesday, September 30, 2008 9:29 PM
To: whatwg at lists.whatwg.org
Subject: Re: [whatwg] Placeholder option for text input boxes

On Sep 30, 2008, at 12:14 PM, Nils Dagsson Moskopp wrote:

> Am Dienstag, den 30.09.2008, 11:49 -0700 schrieb Garrett Smith:
>> Are there any arguments against a |placeholder| property on INPUT?
> Missing semantics ? It is a purely presentational attribute.

It provides a hint to the user about what input is expected.  It's no  
less semantic than title, which gets used for plenty of non-title- 
related things.

-- 
Andy Lyttle
whatwg at phroggy.com

Received on Tuesday, 30 September 2008 23:44:35 UTC