W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Make quoted attributes a conformance criteria

From: Jens Meiert <jens@meiert.com>
Date: Thu, 23 Jul 2009 15:32:55 +0200
Message-ID: <9fbcac550907230632ud50942m8dc087cbd56eb7cd@mail.gmail.com>
> I'd say it is safe to say that using quotation marks for attribute values,
> always, except perhaps for collapsed, boolean attributes, has been regarded
> as best practice for a long time now.

This always rather seemed like a preference to me, one that gets
supported by consistency considerations (as some values would require
quotation marks).

Not considering the unquoted attribute value syntax a problem I?d
second consistent use in the spec but would object any further

(I know first-hand that omitting optional tags alone gives people the
creeps, but both optional tags and unquoted attribute values are valid
options for writing HTML.)

Couldn?t but add these two cents,

Jens Meiert
Received on Thursday, 23 July 2009 06:32:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC