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

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