Skip to content

Commit

Permalink
[e] (0) Mention what the special characters are.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7979

git-svn-id: http://svn.whatwg.org/webapps@4260 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 21, 2009
1 parent 0dcf22a commit e9b6040
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
9 changes: 4 additions & 5 deletions complete.html
Expand Up @@ -1675,11 +1675,10 @@ <h3 id=a-quick-introduction-to-html><span class=secno>1.8 </span>A quick introdu
<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 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>
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
is the empty string.</p>

<pre>&lt;!-- empty attributes --&gt;
&lt;input name=address disabled&gt;
Expand Down
9 changes: 4 additions & 5 deletions index
Expand Up @@ -1505,11 +1505,10 @@
<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 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>
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
is the empty string.</p>

<pre>&lt;!-- empty attributes --&gt;
&lt;input name=address disabled&gt;
Expand Down
12 changes: 7 additions & 5 deletions source
Expand Up @@ -469,11 +469,13 @@
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 <a
href="#unquoted">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>
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
is the empty string.</p>

<pre>&lt;!-- empty attributes -->
&lt;input name=address disabled>
Expand Down

0 comments on commit e9b6040

Please sign in to comment.