[html5] r3821 - [e] (0) <button> example.

whatwg at whatwg.org whatwg at whatwg.org
Sun Sep 13 01:34:24 PDT 2009


Author: ianh
Date: 2009-09-13 01:34:23 -0700 (Sun, 13 Sep 2009)
New Revision: 3821

Modified:
   index
   source
Log:
[e] (0) <button> example.

Modified: index
===================================================================
--- index	2009-09-13 07:50:28 UTC (rev 3820)
+++ index	2009-09-13 08:34:23 UTC (rev 3821)
@@ -35699,9 +35699,21 @@
 
   </div>
 
+  <div class=example>
 
+   <p>The following button is labeled "Show hint" and pops up a dialog
+   box when activated:</p>
 
+   <pre><button type=button
+        onclick="alert('This 15-20 minute piece was composed by George Gershwin.')">
+ Show hint
+</button></pre>
 
+  </div>
+
+
+
+
   <h4 id=the-select-element><span class=secno>4.10.6 </span>The <dfn><code>select</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: source
===================================================================
--- source	2009-09-13 07:50:28 UTC (rev 3820)
+++ source	2009-09-13 08:34:23 UTC (rev 3821)
@@ -39800,9 +39800,21 @@
 
   </div>
 
+  <div class="example">
 
+   <p>The following button is labeled "Show hint" and pops up a dialog
+   box when activated:</p>
 
+   <pre><button type=button
+        onclick="alert('This 15-20 minute piece was composed by George Gershwin.')">
+ Show hint
+</button></pre>
 
+  </div>
+
+
+
+
   <h4>The <dfn><code>select</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list