分别用html、js、php方法实现网页延时跳转(重定向)

html meta刷新与跳转(重定向)页面

5秒之后刷新本页面:

<meta http-equiv="refresh" content="5" />

5秒之后转到梦之都首页:

<meta http-equiv="refresh" content="5; url=http://www.dreamdu.com/" />

js方法延时跳转

window.setTimeout("window.location.href='https://pdbn.top/'",5000);

 php方法延时跳转

header("Refresh:5;url=https://pdbn.top/");