Home > > 網頁自動轉址

網頁自動轉址

2011年11月16日星期三

在 HTML 網頁的 </head> 前加入以下 HMTL 碼,網頁就會自動轉址。

<meta http-equiv="refresh" content="0;url=http://jhpeng.com" />

其中 content=... 中的 0 是指 0 秒後自動重新整理,並轉址到 "http://jhpeng.com" 這個 URL。

0 Responses to "網頁自動轉址"