Skip to content
Permalink
Browse files

[e] (0) list='' example

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 57265d9f5e48da1437f1f44b898d8f246486eb08
Showing with 33 additions and 1 deletion.
  1. +17 −1 index
  2. +16 −0 source
18 index
@@ -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>-->

</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>

16 source

</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>

0 comments on commit 57265d9

Please sign in to comment.
You can’t perform that action at this time.