W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] HTML syntax: shortcuts for 'id' and 'class' attributes

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Fri, 01 Dec 2006 00:42:07 -0600
Message-ID: <456FCEBF.1070905@mit.edu>
Andrew Fedoniouk wrote:
> Boris, what about this then:
> 
> <p .myclass> ... </p>
> <p #myid> ... </p>

It's better, but nevertheless seems pretty pointless.  And would cause HTML5 UAs 
to behave differently from HTML4 UAs on HTML4 content, which is also undesirable.

-Boris
Received on Thursday, 30 November 2006 22:42:07 UTC

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