title: html5 create event handler onclick event
body: <p>I am solving Test Paper for Microsoft:Programming in HTML5 with JavaScript and CSS3. I didn't find the answer for this question</p>
  
  <p><strong>Question</strong></p>
  
  <p>You are creating a JavaScript function that displays the name of a web application. You declare the following
  button element.
  
  When a user clicks the button, a JavaScript function named About must be called. You need to create an event
  handler that calls the About function when the button is clicked. Which two code segments can you use? (Each
  correct answer presents a complete solution. Choose two.)</p>
  
  <p><strong>Options</strong></p>
  
  <pre><code> A. var button=document.getElementById("About");
      ScriptEngine.call(button,About());
  
   B. var button=document.getElementById("About");
      ScriptEngine.bind(button,About());
  
   C. var button=document.getElementById("About");
      button.addEventListener("click",About);
  
   D. var button=document.getElementById("About");
      button.attachEvent("onclick",About);
  </code></pre>
  
  <p>Which are correct option? </p>