W3C home > Mailing lists > Public > public-html-commits@w3.org > September 2012

html5/html4-differences Overview.html,1.184,1.185 Overview.src.html,1.197,1.198

From: Simon Pieters via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 14 Sep 2012 12:27:21 +0000
To: public-html-commits@w3.org
Message-Id: <E1TCUzR-0004bA-ML@lionel-hutz.w3.org>
Update of /sources/public/html5/html4-differences
In directory hutz:/tmp/cvs-serv17507

Modified Files:
	Overview.html Overview.src.html 
Log Message:
better example for form=""

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.html,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -d -r1.184 -r1.185
--- Overview.html	14 Sep 2012 12:12:45 -0000	1.184
+++ Overview.html	14 Sep 2012 12:27:19 -0000	1.185
@@ -598,10 +598,18 @@
        placed anywhere on a page, not just as descendants of the
        <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element">form</a></code> element, and still be associated with a <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element">form</a></code>.</p>
 
-       <pre><code>&lt;label&gt;Email:
- &lt;input type=email <strong>form=foo</strong> name=email&gt;
-&lt;/label&gt;
-&lt;form <strong>id=foo</strong>&gt;&lt;/form&gt;</code></pre>
+       <pre>&lt;table&gt;
+ &lt;tr&gt;
+  &lt;th&gt;Key
+  &lt;th&gt;Value
+  &lt;th&gt;Action
+ &lt;tr&gt;
+  &lt;td&gt;&lt;form <strong>id=1</strong>&gt;&lt;input name=1-key&gt;&lt;/form&gt;
+  &lt;td&gt;&lt;input <strong>form=1</strong> name=1-value&gt;
+  &lt;td&gt;&lt;button <strong>form=1</strong> name=1-action value=save&gt;✓&lt;/button&gt;
+      &lt;button <strong>form=1</strong> name=1-action value=delete&gt;✗&lt;/button&gt;
+ ...
+&lt;/table&gt;</pre>
       </li>
 
       <li><p>The new <code class="external" title="attr-input-required"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-required">required</a></code> attribute applies to

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -d -r1.197 -r1.198
--- Overview.src.html	14 Sep 2012 12:12:45 -0000	1.197
+++ Overview.src.html	14 Sep 2012 12:27:19 -0000	1.198
@@ -553,10 +553,18 @@
        placed anywhere on a page, not just as descendants of the
        <code data-anolis-spec=html>form</code> element, and still be associated with a <code data-anolis-spec=html>form</code>.</p>
 
-       <pre><code>&lt;label>Email:
- &lt;input type=email <strong>form=foo</strong> name=email>
-&lt;/label>
-&lt;form <strong>id=foo</strong>>&lt;/form></code></pre>
+       <pre>&lt;table>
+ &lt;tr>
+  &lt;th>Key
+  &lt;th>Value
+  &lt;th>Action
+ &lt;tr>
+  &lt;td>&lt;form <strong>id=1</strong>>&lt;input name=1-key>&lt;/form>
+  &lt;td>&lt;input <strong>form=1</strong> name=1-value>
+  &lt;td>&lt;button <strong>form=1</strong> name=1-action value=save>&#x2713;&lt;/button>
+      &lt;button <strong>form=1</strong> name=1-action value=delete>&#x2717;&lt;/button>
+ ...
+&lt;/table></pre>
       </li>
 
       <li><p>The new <code data-anolis-spec=html title=attr-input-required>required</code> attribute applies to
Received on Friday, 14 September 2012 12:27:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 September 2012 12:27:23 GMT