Permalink
Browse files

[e] (0) multiple='' examples

git-svn-id: http://svn.whatwg.org/webapps@3818 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 5da5071 commit 47deceb8955731c19938fd4d7f88e6ca1d5ef22a @Hixie Hixie committed Sep 13, 2009
Showing with 34 additions and 0 deletions.
  1. +17 −0 index
  2. +17 −0 source
View
17 index
@@ -34894,6 +34894,23 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
attribute is a <a href=#boolean-attribute>boolean attribute</a> that indicates whether
the user is to be allowed to specify more than one value.</p>
+ <div class=example>
+
+ <p>The following extract shows how an e-mail client's "Cc" field
+ could accept multiple e-mail addresses.</p>
+
+ <pre>&lt;label&gt;Cc: &lt;input type=email multiple name=cc&gt;&lt;/label&gt;</pre>
+
+ </div>
+
+ <div class=example>
+
+ <p>The following extract shows how an e-mail client's "Attachments"
+ field could accept multiple files for upload.</p>
+
+ <pre>&lt;label&gt;Attachments: &lt;input type=file multiple name=att&gt;&lt;/label&gt;</pre>
+
+ </div>
<h6 id=the-maxlength-attribute><span class=secno>4.10.4.2.7 </span>The <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> attribute</h6>
View
17 source
@@ -38796,6 +38796,23 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
attribute is a <span>boolean attribute</span> that indicates whether
the user is to be allowed to specify more than one value.</p>
+ <div class="example">
+
+ <p>The following extract shows how an e-mail client's "Cc" field
+ could accept multiple e-mail addresses.</p>
+
+ <pre>&lt;label>Cc: &lt;input type=email multiple name=cc>&lt;/label></pre>
+
+ </div>
+
+ <div class="example">
+
+ <p>The following extract shows how an e-mail client's "Attachments"
+ field could accept multiple files for upload.</p>
+
+ <pre>&lt;label>Attachments: &lt;input type=file multiple name=att>&lt;/label></pre>
+
+ </div>
<h6>The <code title="attr-input-maxlength">maxlength</code> attribute</h6>

0 comments on commit 47deceb

Please sign in to comment.