<button onclick="location.href='https://www.naver.com'">페이지 이동</button>
<button onclick="window.open('https://www.naver.com')">새창 이동</button>