Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Elaborate on unquoted attribute values in intro.
git-svn-id: http://svn.whatwg.org/webapps@3438 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 17, 2009
1 parent 44d14e7 commit 9011d29
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
12 changes: 7 additions & 5 deletions index
Expand Up @@ -1446,10 +1446,11 @@
<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
unquoted if it is a keyword. 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.</p>
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 <a href=#unquoted>left unquoted</a> if it doesn't contain any special
characters. 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.</p>

<pre>&lt;!-- empty attributes --&gt;
&lt;input name=address disabled&gt;
Expand Down Expand Up @@ -58256,7 +58257,7 @@ interface <dfn id=messageport>MessagePort</dfn> {

</dd>

<dt>Unquoted attribute value syntax</dt>
<dt id=unquoted>Unquoted attribute value syntax</dt>

<dd>

Expand Down Expand Up @@ -71676,6 +71677,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
Anthony Ricaud,
Antti Koivisto,
Arphen Lin,
Aryeh Gregor,
Asbj&oslash;rn Ulsberg,
Ashley Sheridan,
Aurelien Levy,
Expand Down
14 changes: 8 additions & 6 deletions source
Expand Up @@ -449,11 +449,12 @@
inside the start tag, and consist of a <span
title="syntax-attribute-name">name</span> and a <span
title="syntax-attribute-value">value</span>, separated by an "<code
title="">=</code>" character. The attribute value can be left
unquoted if it is a keyword. 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.</p>
title="">=</code>" character. The attribute value can be <a
href="#unquoted">left unquoted</a> if it doesn't contain any special
characters. 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.</p>

<pre>&lt;!-- empty attributes -->
&lt;input name=address disabled>
Expand Down Expand Up @@ -71836,7 +71837,7 @@ interface <dfn>MessagePort</dfn> {

</dd>

<dt>Unquoted attribute value syntax</dt>
<dt id="unquoted">Unquoted attribute value syntax</dt>

<dd>

Expand Down Expand Up @@ -84659,6 +84660,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
Anthony Ricaud,
Antti Koivisto,
Arphen Lin,
Aryeh Gregor,
Asbj&oslash;rn Ulsberg,
Ashley Sheridan,
Aurelien Levy,
Expand Down

0 comments on commit 9011d29

Please sign in to comment.