简体   繁体   中英

How to open webpages in a new tab in internet explorer?

In my html code there are several link like this:

<a href="www.exampe.com" target="_blank">example</a>

Is there a way to open these links in a new tab ( and not in a new window ) ?

You cannot control the preference the user has set in their browser. You might consider adding some text like

"Hold down the Ctrl key and click the following link"

If the user follows your suggestion, the page will open in a new tab. None of this is optimal.

See HTML: how to force open links in a new tab for more.

target="_blank" attribute should open that page in a new tab. It probably depends on your browser settings whether the page opens in a new tab or window.

There is no way to do this, short of a browser plugin.

That is for a reason. You do not want to take the user somewhere they don't want to be.

They may not want to be in Internet Explorer.

What you SHOULD do is suggest that your website may only be compatible with IE. This way, the user can only blame themselves if something does not work. Not ideal, but it's generally accepted practice.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM