Re: [whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.
On Fri, 26 Jun 2009, Smylers wrote: The new quick introduction includes: Attributes are placed inside the start tag, and consist of a name and a value, separated by an = character. The attribute value can be left unquoted if it is a keyword, but generally will be quoted. -- http://www.whatwg.org/html5#a-quick-introduction-to-html Generally will be seems to be a prediction that the spec doesn't need to make, and could be seen as a recommendation for authors to quote attributes even when they're unnecessary. Could we simply omit that (finishing the sentence at keyword)? Done. And then I added some more text for good measure too. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Re: [whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.
On Thu, Jul 16, 2009 at 8:56 PM, Ian Hicksoni...@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 9.1.2.3 (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 9.1.2.3.
Re: [whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.
On Thu, 16 Jul 2009, Aryeh Gregor wrote: On Thu, Jul 16, 2009 at 8:56 PM, Ian Hicksoni...@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 9.1.2.3 (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 9.1.2.3. Done. Thanks. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Re: [whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.
The new quick introduction includes: Attributes are placed inside the start tag, and consist of a name and a value, separated by an = character. The attribute value can be left unquoted if it is a keyword, but generally will be quoted. -- http://www.whatwg.org/html5#a-quick-introduction-to-html Generally will be seems to be a prediction that the spec doesn't need to make, and could be seen as a recommendation for authors to quote attributes even when they're unnecessary. Could we simply omit that (finishing the sentence at keyword)? Smylers
Re: [whatwg] [html5] r3316 - [e] (0) A quick introduction to HTML.
Attributes are placed inside the start tag, and consist of a name and a value, separated by an = character. The attribute value can be left unquoted if it is a keyword [*or a number*]. IMHO, Chris