title: Run Javascript when span is loaded
body: <p>Let's say i have got this code : </p>
  
  <pre><code>&lt;span anyattribute="alert(1)"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>Is it possible to run Javascript code when span element loads on page only using attributes (events such as onload, onerror etc.)?</p>