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

[whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Thu, 16 Jul 2009 22:28:00 -0400
Message-ID: <7c2a12e20907161928v60f246b8k56b65e0b4499ea48@mail.gmail.com>
On Thu, Jul 16, 2009 at 8:56 PM, Ian Hickson<ian at hixie.ch> wrote:
> Done. And then I added some more text for good measure too. :-)

The spec currently says "The attribute value can be left unquoted if
it is a keyword. Otherwise, it has to be quoted using either single or
double quotes."  But in (which is normative, unlike 1.9), it
says only that

"in addition to the requirements given above for attribute values,
must not contain any literal space characters, any U+0022 QUOTATION
MARK (") characters, U+0027 APOSTROPHE (') characters, U+003D EQUALS
SIGN (=) characters, U+003C LESS-THAN SIGN (<) characters, or U+003E
GREATER-THAN SIGN (>) characters, and must not be the empty string."

So values other than keywords can be left unquoted.  1.9 should
probably say something like "The attribute value can be left unquoted
if it doesn't contain special characters" or something like that,
instead.  "left unquoted" could perhaps be a link to the "Unquoted
attribute value syntax" part of
Received on Thursday, 16 July 2009 19:28:00 UTC

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