当前位置:主页 > 软件编程 > PHP代码 >

php 不使用js实现页面跳转

时间:2021-06-05 08:59:17 | 栏目:PHP代码 | 点击:

在页面跳转的时候

一般使用都是js

window.location.href

当然也可以使用
复制代码 代码如下:

<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.baidu.com">
<title></title>
</head>
<body>

</body>
</html>

content的值就是 跳转的延时

您可能感兴趣的文章:

相关文章