[whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.
Simetrical+w3c at gmail.com
Thu Jul 16 19:28:00 PDT 2009
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 126.96.36.199 (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 188.8.131.52.
More information about the whatwg