+ 1

How to open particular link in new tab in html ?

25th Apr 2017, 11:48 PM
Ajinkya N. Pathak
Ajinkya N. Pathak - avatar
3 Answers
+ 11
By using target attribute with _blank value. For example: <a href="http://yoursite.com" target="_blank">My Site</a>
26th Apr 2017, 12:19 AM
Jérémie Agossouvi
Jérémie Agossouvi - avatar
+ 8
target="_blank" is used to open link in a new tab.
26th Apr 2017, 12:15 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
0
just add a target="_blank" attribute to link i.e, anchor tag
26th Apr 2017, 1:06 PM
Yashashri Mahashabde
Yashashri Mahashabde - avatar