Posted By

kreaninw on 04/06/12


Tagged

svg


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

page_lab


SVG Image with img tag and JavaScript for unsupported browser.


 / Published in: HTML
 

Using SVG on your website today, supported on all browsers.

  1. <img src="images/logo.svg"
  2. onerror="this.removeAttribute('onerror');
  3. this.src='images/logo.png'"
  4. alt="Kreaninw Studio Logo"
  5. />

Report this snippet  

You need to login to post a comment.