title: How to addEventListener to all IMG Tags
body: <p>I have a ContentEditable Div Element (Editor).
  I want to add EventListener to all Image Tags within the editor.
  How can i do the same.
  For existing Images i can add using the </p>
  
  <pre><code>var imageNodes = document.getElementsByTagName('IMG');
          for(var i=0;i&lt;imageNodes.length;i++) {          
              imageNodes[i].addEventListener('DOMNodeRemoved',getRemovedNodeDetails,false);
          }
  </code></pre>
  
  <p>For newly entered images how can i do the same. 
  Can i add a style to all IMG tag, so that whenever a new image is entered listener will be added to the Tag.</p>