[whatwg] Allow omitting ="" for attributes?

Simon Pieters zcorpan at hotmail.com
Tue Nov 14 11:18:35 PST 2006


Hi,

I was thinking about making omitted ="" for all attributes conforming. I'm 
not sure it's a good idea, but might be worth considering.

Off the top of my head, cases where empty attribute values are used often:

   * To disable <dfn> linking (<code title>).
   * For images with empty alt text (<img alt src=foo>).

Pros:

   * Three characters less to type.

Cons:

   * Less obvious which attributes are boolean attributes and which are not 
by looking at the source.

Regards,
Simon Pieters

_________________________________________________________________
Sök bilder på glammiga kändisar! http://search.msn.se




More information about the whatwg mailing list