0

嘿伙计们,我必须为我的课程做这个,这是我的确切要求

" 4 秒后,将显示第二个页面(主网页)。"

打开网站后,会出现一个欢迎页面,之后(4 秒)它会自动转到主页。

4

2 回答 2

5
<meta http-equiv="refresh" content="4;URL='home.html'">
于 2013-02-15T17:33:46.397 回答
1

使用元标记重定向不需要 javascript

<meta http-equiv="refresh" content="4;URL='http://www.mysite.com/homepage.html'" />
于 2013-02-15T17:37:57.787 回答