title: element.onload vs element.addEventListener("load",callbak,false)
body: <p>Can someone please explain what the difference is between the following two ways to specifying onload callback functions in javascript?</p>
  
  <pre><code>element.onload = callback
  </code></pre>
  
  <p>AND</p>
  
  <pre><code>element.addEventListener("load",callbak,false)
  </code></pre>