<html>
<head>
<script language="javascript">
var adres="https://offlintab.firefoxchina.cn/static/img/search/baidu_web.png";
function imgUrl() {
document.images.imgInit.src = adres;
}
</script>
</head>
<body>
<img id="imgInit" src="乱设置一个就行" onerror="imgUrl()" style="width:50px;height:25px;display:block;" />
</body>
</html>
原文地址:https://www.cnblogs.com/lovehansong/p/10419119.html
时间: 2024-10-27 02:40:18