How to redirect a website using a meta tag?

· · 2065 views

How do I use Meta Tag to redirect an HTML page?

0
1 Answer

To use a META Tag to redirect your site is quite easy. With this, use the http-equiv attribute to provide an HTTP header for the value of the content attribute.

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Meta Tag</title>
      <meta http-equiv = "refresh" content = "2; url = https://qirolab.com/" />
   </head>
   <body>
      <p>This is demo text.</p>
   </body>
</html>
0

Please login or create new account to participate in this conversation.