Tip&Tech/Web
도메인 자동 이동 태그들!
MissFlash
2007. 1. 7. 16:18
1. header 이용방법
2. Frame 이용방법
3. Refresh 이용방법
4. 자바스크립트 이용방법
5. Meta 태그 이용방법
<? header("Location: http://blog.missflash.com/"); ?>
참고로 주소와 : 사이의 공백을 빠트리지 말아야 합니다.2. Frame 이용방법
<html>
<title>MissFlash</title>
<frameset rows='*,100%' border=0 frameborder=0 framespacing=0>
<frame src='about:blank'>
<frame name=프레임이름(아무거나) src='http://blog.missflash.com/' marginwidth=0 marginheight=0 frameborder=no>
</frameset>
</html>
<title>MissFlash</title>
<frameset rows='*,100%' border=0 frameborder=0 framespacing=0>
<frame src='about:blank'>
<frame name=프레임이름(아무거나) src='http://blog.missflash.com/' marginwidth=0 marginheight=0 frameborder=no>
</frameset>
</html>
3. Refresh 이용방법
<head>
<title>MissFlash</title>
<meta
http-equiv="Content-Type" content="text/html; charset=euc-kr">
<meta http-equiv="Refresh" Content="0;url=http://blog.missflash.com/">
</head>
<body>
</body>
</html>
<title>MissFlash</title>
<meta
http-equiv="Content-Type" content="text/html; charset=euc-kr">
<meta http-equiv="Refresh" Content="0;url=http://blog.missflash.com/">
</head>
<body>
</body>
</html>
4. 자바스크립트 이용방법
<html>
<head>
<title>MissFlash</title>
</head>
<body>
<script language="JavaScript">
location.replace("http://blog.missflash.com/")
</script>
</body>
</html>
<head>
<title>MissFlash</title>
</head>
<body>
<script language="JavaScript">
location.replace("http://blog.missflash.com/")
</script>
</body>
</html>
5. Meta 태그 이용방법
<meta http-equiv="refresh" content="3;url=http://blog.missflash.com/">