转自:http://www.dreamdu.com/xhtml/refresh/
refresh 属性值 -- 刷新与跳转(重定向)页面
- refresh用于刷新与跳转(重定向)页面
- refresh出现在http-equiv属性中,使用content属性表示刷新或跳转的开始时间与跳转的网址
- 引用网址:http://www.dreamdu.com/xhtml/refresh/
refresh示例
5秒之后刷新本页面:
<meta http-equiv="refresh" content="5" />
5秒之后转到梦之都首页:
<meta http-equiv="refresh" content="5; url=http://www.dreamdu.com/" />
本文介绍了如何使用HTML中的meta标签实现页面的自动刷新与跳转功能。通过设置http-equiv为refresh并利用content属性指定时间间隔及目标URL,可以轻松完成页面重定向。
984

被折叠的 条评论
为什么被折叠?



