Saturday, May 15, 2021

How to Redirect a Web Page in HTML

 

Some old browsers don't refresh correctly when you add a quick link. In that case, you can add an anchor link to let the user follow.



<!DOCTYPE html> <html> <head> <meta http-equiv="refresh" content="7; url='https://www.helptelephone.com'" /> </head> <body> <p>Please follow <a href="https://www.helptelephone.com">this link</a>.</p> </body> </html>



If you want your redirection to occur in an exact time, just specify your preferred parameter (in seconds) for the content. Let’s consider an example, where we set "7" seconds as redirection time.

Some browsers don't render the <meta> refresh tag correctly, so before the next page loads, the user can see a flash as a page.
<meta http-equiv="refresh" content="7; url='https://www.helptelephone.com'" />

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home