How to redirect a webpage to another page or another website with html?
Posted On : Aug 18, 2020Last Update : Aug 18, 2020
Following meta tag used between <head> tags does this.
The content property here defines duration as second, url defines the address to be redirected. If url is not be used, page will not be redirected but refreshed.
<html>
<head>
<!-- Redirect page to the specified address with url property without delay. -->
<meta http-equiv="refresh" content="0" url="https://pageorsitetoberedirected.com" />
<!-- Refresh the page at every 1 minute. -->
<meta http-equiv="refresh" content="60" />
</head>
<body>
</body>
</html>