图片不存在时,显示一个默认的图片

<img src="abc.JPG" onerror="this.src='default.JPG'" />

 

posted @ 2016-05-30 17:12  魔流剑  阅读(155)  评论(0编辑  收藏  举报