- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 21 Oct 2009 11:46:15 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv643 Modified Files: Overview.html Log Message: Mention what the special characters are. (whatwg r4260) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3402 retrieving revision 1.3403 diff -u -d -r1.3402 -r1.3403 --- Overview.html 21 Oct 2009 11:35:34 -0000 1.3402 +++ Overview.html 21 Oct 2009 11:46:12 -0000 1.3403 @@ -1473,11 +1473,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><a href="demo.html">simple</a></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.<pre><!-- empty attributes --> + 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=""><</code> or <code title="">></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><!-- empty attributes --> <input name=address disabled> <input name=address disabled="">
Received on Wednesday, 21 October 2009 11:46:19 UTC