How to open link in new window

To open link in a new window is useful for the site owner not to lose a visitor, and helpful for the visitor not to leave halfway the site they have visited.

Therefore, I thought of making a post to explain how to open a hyperlink in a new window or tab. This is actually simple but very beneficial.

First step is to create a link or an anchor text in your blog post. For this you have to highlight the text in to which the hyperlink will be inserted, then click the “Link” button as shown in the below screenshot example.



Then a pop-up screen will appear where you will be asked to enter the destination URL for the above anchor text to be linked to, as shown in the below screenshot. You may type or copy and paste the URL of the webpage (you can test this link) and press “OK”.




This is the important part. Now you have to press on the “Edit HTML” tab, and locate your hyperlink. As per the above example the link will be like this:

<a href="http://makeablogtips.blogspot.com/2010/01/why-are-blogs-popular.html">blogs have become very popular</a>

If you want this hyperlink to open in a new window, all you have to do is to edit the hyperlink tag by adding target="_blank" as shown below:

<a href="http://makeablogtips.blogspot.com/2010/01/why-are-blogs-popular.html" target="_blank" >blogs have become very popular</a>

Finally preview and publish your post.

1 comments:

Rational νεόφυτος said...

Bingo! Thanks friend, just what I was looking for.

Post a Comment