<img src="errurl" onerror="this.src=‘default.jpg‘">
<img>标签链接地址失效如何自动显示默认图片
原文:http://www.cnblogs.com/shy1766IT/p/6240202.html