html3秒跳转

时间:2023-03-09 03:30:54
html3秒跳转

<script> 
    setTimeout( 'window.location= "home.jsp " ',3000) ;//注意,此处“;”可加可不加
</script>
 
<script> 
setTimeout( 'history.go(-1) ',3000) 
</script> 
 
2.
 
<head> <meta   http-equiv= "refresh "   content= "3;url=window.history.back(): "   /> </head>         
     或者 
<head> <meta   http-equiv= "refresh "   content= "3;url=  ‘ aa.html' "   /> </head>