html for url redirect code example
Example 1: redirect html
<meta http-equiv="refresh" content="time; URL=new_url" />
Example 2: html redirect to another page
<script>
function foo() {
window.location.href = url
}
</script>
<meta http-equiv="refresh" content="time; URL=new_url" />
<script>
function foo() {
window.location.href = url
}
</script>