The following code opens link in new tab at the same time it moves control to new tab
<a href="http://www.google.com" target="_blank">Visit</a>
How to keep the current tab open and load the clicked link in new tab
The following code opens link in new tab at the same time it moves control to new tab
<a href="http://www.google.com" target="_blank">Visit</a>
How to keep the current tab open and load the clicked link in new tab
This is called a popunder and is consider very bad practice.
But since you asked
Take a look at the code in this answer and see if it works for you.