0

Ho can we redirect a page in new tab when we use meta tag. For ex. i am trying this code

<meta http-equiv="refresh" content="5;URL=http://www.example.com >

but it redirects it in same page. And if i add the following code after the url then also nothing happens

target = "_blank"

Please help me.

1 Answers1

1

You can try something like this:

<meta http-equiv="refresh" content="5; URL=javascript:window.open('http://google.com','_blank');">

This post is related to your question.

Community
  • 1
  • 1
Kurenai Kunai
  • 1,842
  • 2
  • 12
  • 22