Skip to content

Commit

Permalink
[e] (0) list='' example
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3815 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 13, 2009
1 parent 1dc5974 commit 57265d9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
18 changes: 17 additions & 1 deletion index
Expand Up @@ -105,7 +105,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id=draft-standard-&mdash;-12-september-2009>Draft Standard &mdash; 12 September 2009</h2>
<h2 class="no-num no-toc" id=draft-standard-&mdash;-13-september-2009>Draft Standard &mdash; 13 September 2009</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -34755,6 +34755,22 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H

</div>

<div class=example>

<p>This URL field offers some suggestions.</p>

<pre>&lt;label&gt;Homepage: &lt;input name=hp type=url list=hpurls&gt;&lt;/label&gt;
&lt;datalist id=hpurls&gt;
&lt;option value="http://www.google.com/" label="Google"&gt;
&lt;option value="http://www.reddit.com/" label="Reddit"&gt;
&lt;/datalist&gt;</pre>

<p>Other URLs from the user's history might show also; this is up
to the user agent.</p>

</div>



<h6 id=the-readonly-attribute><span class=secno>4.10.4.2.3 </span>The <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute</h6>

Expand Down
16 changes: 16 additions & 0 deletions source
Expand Up @@ -38652,6 +38652,22 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {

</div>

<div class="example">

<p>This URL field offers some suggestions.</p>

<pre>&lt;label>Homepage: &lt;input name=hp type=url list=hpurls>&lt;/label>
&lt;datalist id=hpurls>
&lt;option value="http://www.google.com/" label="Google">
&lt;option value="http://www.reddit.com/" label="Reddit">
&lt;/datalist></pre>

<p>Other URLs from the user's history might show also; this is up
to the user agent.</p>

</div>



<h6>The <code title="attr-input-readonly">readonly</code> attribute</h6>

Expand Down

0 comments on commit 57265d9

Please sign in to comment.