您的位置: 首页好东西IT知识 → html自动跳转代码

html自动跳转代码

我要评论 2012/06/23 00:00:00来源:互联网 编辑:当易小编 [ ] 评论:0 点击:1899次

请将以下自动跳转代码放置在网页的<head></head>之间。

<meta http-equiv="Refresh" content="3;URL=http://www.baidu.com/" />

其中,content=3中的3表示等待时间,单位为秒,url=http://www.baidu.com/中的http://www.baidu.com/是要跳到的目标网页。另外,要特别注意:3;URL=http://www.baidu.com/是用双引号括起来的,3与后面的URL=http://www.baidu.com/用分号分隔。

关键词:html,跳转代码