How to create Link that open in new tab or window
I notice a lot of blogs have links that did not open to a new tab or window.
This meant that once a visitor to your blog clicks on one of the links, it will refresh with the new link’s webpage. This will override your blog page. Most of the times, visitors will click using the left click of the mouse.
These pose a dilemma to the blog owners. On one hand, you want the visitor to visit the links that you have created. Maybe this link will take the visitor to your sales page. On the other hand, after reading your sales page, you might want them to continue viewing your blog postings. However your existing link coding that you have done does not permit that.
You might argue that the visitor cans always re-keying your blog site’ URL to re-visit your blog again. But do you know a lot of visitors will not do that.
So is there a solution that will allow the links to be open in a new tab or window even though the visitor will be using the left click of the mouse?
The answer is yes. The solution is quite simple.
The following example shows the link that will overwrite the existing URL.
<a href=”http://www.domainname.com/go/salespage”><img src=http://www.domainname.com/gif/sample.jpg/>This is sample blog</a>
The following example shows the link that will open in a new tab or window even though using mouse’s left click to click on the link. You just need to include in target=”_blank” in the position shown in the sample below.
<a href=”http://www.domainname.com/go/salespage” target=”_blank”><img src=http://www.domainname.com/gif/sample.jpg/>This is sample blog</a>
Try it in your link.
Like this post? Subscribe to my RSS feed and get loads more!