title: Is it possible to make a button call a JavaScript function in XHTML Strict 1.0?
body: <p>In plain old HTML the following code will work:</p>
  
  <p><code>&lt;input type="button" value="click" onClick="function()" /&gt;</code></p>
  
  <p>However; in XHTML Strict 1.0 this code will not validate, saying that "there is no function onClick". I know that this code here will work,</p>
  
  <p><code>&lt;a href="javascript:function()&gt;click&lt;/a&gt;</code></p>
  
  <p>But I want the function to occur on the click of a button.</p>