javascript,php等几种编程语言中网页跳转的方法

作者:国际小甜 | 创建时间: 2023-05-07
javascript,php等几种编程语言中网页跳转的方法

操作方法

html中网页的跳转: 3秒刷新一次网页 <meta http-equiv="refresh" content="3" /> 3秒后重定向到指定网页 <meta http-equiv="refresh" content="3; url=跳转的网页地址" /> javascript网页跳转写法: <script language="javascript" type="text/javascript"> window.location="跳转的网页地址"; </script> asp网页跳转写法: <% response.redirect "跳转的网页地址" %> php网页跳转写法: <?php header("Location: 跳转的网页地址"); ?>

点击展开全文

更多推荐