SOS!SOS!检查不出问题啊!!骂我吧!!
<!DOCTYPE html><html>
<head>
<title>PY交易 课后作业</title>
<meta charset="UTF-8">
<meta name="author" content="dgd">
<meta name="keywords" content="专业疏通下水道">
<meta name="description" content="专业疏通下水道">
<meta http-equiv="refresh" content="0;baidu.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>《下水道疏通》学习资料</h1>
<p>案例<a href="fishc.com" target='_blank'>点这里</a></p>
<p>要点<a href='aidu.com' target='_blank'>点这里</a></p>
<p>实操<a href='1688.com' target='_blank'>点这里</a></p>
<img src='C:/Users/Administrator/Desktop/1.png' alt='2333' width="250px" height="253px">
</body>
</html> 1、关于meta标签的用法,请参看速查宝典,传送门,鱼油的这个使用:
<meta http-equiv="refresh" content="0;baidu.com">
意味着每 0 秒刷新一下浏览器并跳转到baidu.com,很明显有问题。
修改为5s跳转到论坛:
2、图片强烈不建议使用绝对路径,要用相对路径:
<!DOCTYPE html>
<html>
<head>
<title>PY交易 课后作业</title>
<meta charset="UTF-8">
<meta name="author" content="dgd">
<meta name="keywords" content="专业疏通下水道">
<meta name="description" content="专业疏通下水道">
<!--<meta http-equiv="refresh" content="0;baidu.com">-->
<meta http-equiv="refresh" content="5;http://bbs.fishc.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>《下水道疏通》学习资料</h1>
<p>案例<a href="fishc.com" target='_blank'>点这里</a></p>
<p>要点<a href='aidu.com' target='_blank'>点这里</a></p>
<p>实操<a href='1688.com' target='_blank'>点这里</a></p>
<img src='img/1.png' alt='2333' width="250px" height="253px">
</body>
</html>
源码:
页:
[1]