我正在尝试刷新同一页面,但它不起作用。这是我的 HTML 代码:
<html>
<head>
<title>HTML in 10 Simple Steps or Less</title>
<meta http-equiv=”refresh” content=”5" />
</head>
<body>
</body>
</html>
The quotes you use are the issue:
<meta http-equiv=”refresh” content=”5" >
You should use the "
<meta http-equiv="refresh" content="5">
<meta http-equiv="refresh" content="600; url=index.php">
600 is the amount of seconds between refresh cycles.
尝试这个:
<meta http-equiv="refresh" content="5;URL= your url">
或者
<meta http-equiv="refresh" content="5">
试试这个标签。index.html
这将每 30 秒刷新一次页面。
<meta http-equiv="refresh" content="30;url=index.html">