How to redirect a page to another page in HTML ?
To redirect from an HTML page to another page you can use the <meta> tag. It is the client-side redirection, the browsers request the server to provide another page. Also, use the http-equiv attribute to provide an HTTP header for the value of the content attribute. The value in the content attribute is the number of seconds, you want the page to redirect after. For immediate loading, you can set it to 0. Some browsers don’t correctly render the refresh tag. There the user may see a message before the next page loading. Some old browsers don’t correctly refresh when you add such quick links. In that case, you should add an anchor link to let the user follow to next page.
<meta http-equiv = "refresh" content = " time ; url = link"/>
Supported Browsers: The browsers supported by HTML Redirect are listed below:
- Google Chrome
- Internet Explorer
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.