编辑下面的代码:
【加编码】
查看效果 »
<html> <body> <img src="/demo/image.gif" onerror="alert('The image could not be loaded.')"> <p>Here we refer to an image that does not exist, therefore the onerror event occurs.</p> </body> </html>
结果:
【此窗口】
帮助?