W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2008

[whatwg] Placeholder option for text input boxes

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Tue, 30 Sep 2008 12:36:18 -0700
Message-ID: <c9e12660809301236m35e78197h487fd1d86729c21c@mail.gmail.com>
On Tue, Sep 30, 2008 at 12:14 PM, Nils Dagsson Moskopp
<nils-dagsson-moskopp at dieweltistgarnichtso.net> 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.
>

The semantics would be simple property access:

input.placeholder

- as demonstrated in the example I posted up.

Garrett

> Cheers,
>
> Nils
>
>
Received on Tuesday, 30 September 2008 12:36:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:05 UTC