[whatwg] HTML syntax: space characters between attributes
ian at hixie.ch
Thu Jun 14 18:22:49 PDT 2007
On Tue, 28 Nov 2006, Simon Pieters wrote:
> The HTML syntax requires space characters between attributes, but the
> lack of space characters between attributes does not cause a parse error
> according to the parsing section.
> Attributes must be separated from each other and from the
> tag name by one or more space characters.
> I'd suggest either making it a parse error or change the syntax to make
> it optional. (But obviously it can't be optional when the preceding
> attribute is minimized or unquoted.)
This was changed some time back to make the whitespace optional in most
cases (except where it would otherwise be ambiguous).
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg