Re: Attribute values

On Tue, 2012-08-14 at 11:00 -0400, Murray Maloney wrote:
> On 2012-08-14, at 10:50 AM, Uche Ogbuji <uche@ogbuji.net> wrote:

> > Unfortunately foo=bar syntax would break backward syntactical
> compatibility

> I was thinking about HTML.

HTML also "allows"

<a href=http://www.w3.org/ style="color: red; font-size: 64pt;">W3C</a>

(really. try it.)

e.g. http://www.holoweb.net/~liam/download/bad.html

I don't think allowing people to omit the quotes on attribute values
only if some non-HTML set of conditions is met will help HTML authors;
it's simpler to require them.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Co-author 5th edition of "Beginning XML," Wrox, July 2012

Received on Tuesday, 14 August 2012 16:45:31 UTC