How To Redirect A Page To Another Url In Html

how to redirect a page to another url in html
<meta http-equiv="Refresh" content="0; url=https://www.w3docs.com" />
html redirect to another page
<script>
function foo() {
window.location.href = url
}
</script>

LEAVE A REPLY

Please enter your comment!
Please enter your name here