FUNNY MEME GIF ANIMATIONS

Thursday, August 14

SVG Redirect URL Hack Test

If I make this image above an embedded object, then it redirects. Obviously I do not want my blog redirecting so I call it as an image (<img src="") instead.


Usage: <object id=foo type="image/svg+xml" data="redirect.URL.svg"></object>

SVG is great, however, as with most things relating to building a website, it is not simply a case of just using it. You need to know when it will work and when it won’t. So, we did some research to find the best way to add SVG to a website without the need for hacks or Javascript.
Post a Comment