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

Boris Zbarsky bzbarsky at mit.edu
Thu Nov 30 22:42:07 PST 2006


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



More information about the whatwg mailing list