To redirect one HTML page to another automatically on page load, you can use the <meta>
tag or JavaScript.
- Using the
<meta>
tag:
This will redirect the page to “https://www.example.com” after 3 seconds. You can change the number in content
to adjust the delay.
- Using JavaScript:
This script will instantly redirect the page to the specified URL once it’s loaded.
Both methods are commonly used for automatic redirection.