html5/spec Overview.html,1.2989,1.2990

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv25762

Modified Files:
	Overview.html 
Log Message:
<button> example. (whatwg r3821)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2989
retrieving revision 1.2990
diff -u -d -r1.2989 -r1.2990
--- Overview.html	13 Sep 2009 07:45:24 -0000	1.2989
+++ Overview.html	13 Sep 2009 08:29:19 -0000	1.2990
@@ -31695,6 +31695,16 @@
   <code title="dom-lfe-labels"><a href="#dom-lfe-labels">labels</a></code> attribute provides a list
   of the element's <code><a href="#the-label-element">label</a></code>s.</p>
 
+  </div><div class="example">
+
+   <p>The following button is labeled "Show hint" and pops up a dialog
+   box when activated:</p>
+
+   <pre>&lt;button type=button
+        onclick="alert('This 15-20 minute piece was composed by George Gershwin.')"&gt;
+ Show hint
+&lt;/button&gt;</pre>
+
   </div><h4 id="the-select-element"><span class="secno">4.10.6 </span>The <dfn><code>select</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt>
    <dd><a href="#flow-content">Flow content</a>.</dd>
    <dd><a href="#phrasing-content">Phrasing content</a>.</dd>

Received on Sunday, 13 September 2009 08:29:32 UTC