简体   繁体   中英

Open a tab on click of link

I have a link on a page which when clicked should open the content in a new tab. How should I do this?

我想你想在新标签上加载页面。尝试使用目标new的超链接,如下所示:

<a href="http://www.google.com" target="_new">Open google on new tab</a>

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