[whatwg] Placeholder option for text input boxes

Kristof Zelechovski giecrilj at stegny.2a.pl
Tue Sep 30 23:44:35 PDT 2008


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

-----Original Message-----
From: whatwg-bounces at 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






More information about the whatwg mailing list