Saturday, June 1, 2024
 Popular · Latest · Hot · Upcoming
-6
rated 0 times [  1] [ 7]  / answers: 1 / hits: 17441  / 15 Years ago, thu, september 24, 2009, 12:00:00

I have same ancors/hyperlink in my html file. These point to a new website outside my site.
So I want that when the user clicks the link it should open a new tab or window. My website page should not be closed.



How can it be done?


More From » html

 Answers
152
<a href=newpage.htm target=_blank>Click me to open in a new tab/window</a>



Load the linked document into a new
blank window. This window is not
named.



If there is no existing window or
frame with the same name as specified
in the target, a new window is opened
with a name equal to the value of the
target.




Its the setting in a browser that determines whether to open the page in a new tab or in a new window.


[#98632] Friday, September 18, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
juand

Total Points: 366
Total Questions: 95
Total Answers: 90

Location: Wallis and Futuna
Member since Tue, Mar 30, 2021
3 Years ago
;