Redirect to Another local Webpage html code example
Example 1: html redirect to another page
<script>
function foo() {
window.location.href = url
}
</script>
Example 2: html meta redirect to another page
<!-- [time] is the time to redirect. For immediate loading, you can set it to 0 -->
<meta http-equiv = "refresh" content = " time ; url = link"/>