[whatwg] Allow omitting ="" for attributes?
zcorpan at hotmail.com
Tue Nov 14 11:18:35 PST 2006
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>).
* Three characters less to type.
* Less obvious which attributes are boolean attributes and which are not
by looking at the source.
Sök bilder på glammiga kändisar! http://search.msn.se
More information about the whatwg