`
wsql
  • 浏览: 11873221 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

直接用html代码实现页面的刷新

 
阅读更多
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><!--对html页面进行编码-->
        <title>新浪博客刷新页面</title>
    </head>
    <body>
    <meta  http-equiv="refresh" content="5;url=refresh.html"/><!--5秒钟跳转到refresh.html页面,因为就是本页,所以就实现了5秒刷新一次的效果-->
    <iframe src="http://blog.sina.com.cn/hbuwangchunlei" width="100%" height="100%" scrolling="no" frameborder="0"></iframe><!--用一个iframe标签,实现对外部页面的嵌套,这样跟着本页面的刷新,iframe里面的页面也跟着刷新-->    
    </body>

</html>



分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics