Site Archives html

JAVASCRIPT: onerror image magic


HTML has a little-known event handler for <img> and <body> tags. I’m going to focus on <img> tags and how you can use this to clean up some 404s.