In my link, I have target="_blank"
attribute, and it works in Chrome, Firefox, Opera, and of course, Safari and opens the link a new TAB. But When I click on it, in IE9 (and IE8) it opens a new window instead of being opened in a new tab. What should I do?
You can make a HTML link open in a new tab by adding the target=”_blank” attribute. You should insert this after the link address.
To open a link in a new tab, click the link by pressing down your middle mouse button, or right-click the link and select Open link in New Tab. If your mouse has a wheel, it can be used as a button if you press down on the wheel. These methods work in all of the major Internet browsers available for Microsoft Windows.
target="_blank" is a special keyword that will open links in a new tab every time. target="blank" will open the first-clicked link in a new tab, but any future links that share target="blank" will open in that same newly-opened tab.
_blank. Opens the linked document in a new window or tab.
HTML and JavaScript provide no means to say if a new "window" should be a full window, or a tab, or whatever you want to call the Mobile Safari multiple views interface.
So you live with it.
You can see in this question that the target="_blank"
is correct, but the way the browser handles this case is up to his settings.
You need to change IE8/9 settings to open that kind of target in a new tab. There's nothing you can do :|
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With