Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嘿伙计们,我必须为我的课程做这个,这是我的确切要求
" 4 秒后,将显示第二个页面(主网页)。"
打开网站后,会出现一个欢迎页面,之后(4 秒)它会自动转到主页。
<meta http-equiv="refresh" content="4;URL='home.html'">
使用元标记重定向不需要 javascript
<meta http-equiv="refresh" content="4;URL='http://www.mysite.com/homepage.html'" />