본문 바로가기

BASIC

page 이동

1) header

<?php
    header("Location:/xe/");
?>


2) meta 태그 이용 : HTML 문서의 <head>...</head> 사이에 추가하여 사용합니다. 

 

     <meta http-equiv='Refresh' content='0;url=/xe/'>



3) 스크립트 이용 방법 : HTML 문서의 <body>...</body> 사이에 추가하여 사용합니다.

 

<body>

<script type="text/javascript">

<!--

 location.replace('/xe/');

//-->

</script>

</body>