虚拟主机

网站首页定时跳转代码

2008-8-6 16:09:09

具体例子如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="refresh" content="0;url=需要跳转的url">  //content=为多少秒后跳转,这里是0秒
<title>欢迎您的来访,正在加载主站程序......</title>
<link href="css/link.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {font-size: 12px}
-->
</style>
</head>
<body>
<span class="STYLE1">Loading......</span>
</body>
</html>