469,927 Members | 1,913 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Share your developer knowledge by writing an article on Bytes.

Open link in new window - html/css

1
To make all your link open in new window without adding target="_blank" in every link.

You can just easily adding this code at <head> </head> section
Like this:
Expand|Select|Wrap|Line Numbers
  1. <head>
  2.     <base target="_blank">
  3. </head>
Dec 11 '10 #1
0 4570

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Jayme Assuncao Casimiro | last post: by
1 post views Thread by Ben Smeets | last post: by
19 posts views Thread by Sonnich | last post: by
3 posts views Thread by dibakar | last post: by
9 posts views Thread by wax | last post: by
4 posts views Thread by Arivu PHP | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.