zoukankan      html  css  js  c++  java
  • 网页自动跳转/定时跳转代码

    HTML代码:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <meta http-equiv="refresh" content="2;url=http://www.blogwy.com">
    
    <title>网页自动跳转代码 </title>
    </head>
    
    <body>
    <p><strong>网页自动跳转代码</strong></p>
    <p>更多代码请访问:<a href="http://www.blogwy.com/" target="_blank">王雨的博客</a></p>
    </body>
    </html>
    

    说明:

    html网页自动跳转代码,content后面的数字是秒数,0表示立即跳转,比如您想5秒后跳转到新页面,请修改成5即可。

    url后面为你要跳转打开的网址,注意网址前需要加http://

  • 相关阅读:
    C语言I博客作业09
    C语言I博客作业08
    14
    13
    12
    11
    10
    9
    8
    7
  • 原文地址:https://www.cnblogs.com/blogwy/p/5262826.html
Copyright © 2011-2022 走看看