W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2009

html5/spec Overview.html,1.3427,1.3428

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 23 Oct 2009 05:53:17 +0000
To: public-html-commits@w3.org
Message-Id: <E1N1D5R-0005ty-Sj@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv22672

Modified Files:
	Overview.html 
Log Message:
Mention that unquoted attributes can't contain spaces. (whatwg r4292)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3427
retrieving revision 1.3428
diff -u -d -r1.3427 -r1.3428
--- Overview.html	23 Oct 2009 05:50:26 -0000	1.3427
+++ Overview.html	23 Oct 2009 05:53:14 -0000	1.3428
@@ -1474,9 +1474,10 @@
   nested.<p>Elements can have attributes, which control how the elements
   work. In the example below, there is a <a href="#hyperlink">hyperlink</a>,
   formed using the <code><a href="#the-a-element">a</a></code> element and its <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute:<pre>&lt;a href="demo.html"&gt;simple&lt;/a&gt;</pre><p><a href="#syntax-attributes" title="syntax-attributes">Attributes</a> are placed
-  inside the start tag, and consist of a <a href="#syntax-attribute-name" title="syntax-attribute-name">name</a> and a <a href="#syntax-attribute-value" title="syntax-attribute-value">value</a>, separated by an "<code title="">=</code>" character. The attribute value can be left <a href="#unquoted">unquoted</a> if it doesn't contain any of <code title="">"</code> <code title="">'</code> <code title="">`</code>
-  <code title="">=</code> <code title="">&lt;</code> or <code title="">&gt;</code>. Otherwise, it has to be quoted using either
-  single or double quotes. The value, along with the "<code title="">=</code>" character, can be omitted altogether if the value
+  inside the start tag, and consist of a <a href="#syntax-attribute-name" title="syntax-attribute-name">name</a> and a <a href="#syntax-attribute-value" title="syntax-attribute-value">value</a>, separated by an "<code title="">=</code>" character. The attribute value can be left <a href="#unquoted">unquoted</a> if it doesn't contain spaces or any of
+  <code title="">"</code> <code title="">'</code> <code title="">`</code> <code title="">=</code> <code title="">&lt;</code>
+  or <code title="">&gt;</code>. Otherwise, it has to be quoted using
+  either single or double quotes. The value, along with the "<code title="">=</code>" character, can be omitted altogether if the value
   is the empty string.<pre>&lt;!-- empty attributes --&gt;
 &lt;input name=address disabled&gt;
 &lt;input name=address disabled=""&gt;
Received on Friday, 23 October 2009 05:53:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 23 October 2009 05:53:19 GMT