I need a link in my project sothat if anybody click on that link ,he remain on same page and the link opened in new tab.for example i have a link <a href="http://www.google.com">google</a> on page mypage.php .when anybody click on google than he will remain on mypage.php and a new tab should be opened in new tab.is it possible?
daniel36
-7
Light Poster
Recommended Answers
Jump to Postadd
target="_blank"
to thea
tag
Jump to PostYou may be able to do an open-behind type behaviour with javascript but I don't think there is a way to do it in the anchor tag itself.
All 5 Replies
|-|x
126
Junior Poster in Training
daniel36
-7
Light Poster
|-|x
126
Junior Poster in Training
daniel36
-7
Light Poster
daniel36
-7
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.