Skip to content
Permalink
Browse files

[e] (0) <button> example.

git-svn-id: http://svn.whatwg.org/webapps@3821 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 13, 2009
1 parent 907a957 commit e76a6c037f6cba7ab9cf75114b328604638a9413
Showing with 24 additions and 0 deletions.
  1. +12 −0 index
  2. +12 −0 source
12 index

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




12 source

</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.')">
Show hint
&lt;/button></pre>

</div>




0 comments on commit e76a6c0

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