Set Blogger Links Opens in a New Tab
We often put links in our blog posts. Sometimes these links are internal but most of the time, we put external links which point towards other sites which we are referring. If we are running a new blog and these links are by-default set to open in the same window then there will be a greater chance that most of the visitors will left our site by clicking on it (unless they right click on it to open it in a new tab).
If we are not setting our external links to open in a new tab, then we are losing our blog traffic and page-views. Also, this results an increase in bounce rate which is not good for any site or blog. We all newbies want that every visitor stay longer on our site. This way, there is a better chance that the page-views will increase and hence due to long time spend on the site by the visitor will result a great decrease in Bounce Rate.
By giving the appropriate value for Target attribute in your link's HTML, you can set a link to open in a new tab. Today I will show you How you can set your blogger links to open in a new tab.
For a Specific Link:
METHOD 1:
Just locate your required link. If it is in the post then hover over the link and select "change". A box will appear, just tick the box named "Open Link in New Window" and click OK. Done!
METHOD 2:
The second method is by going into the HTML body of the post (or if the required link is in the blogger template then go to Template > Edit HTML). Find the link, it should be look like this:
<a href="linkurl" target="windowname">anchor text</a>
Now replace target="windowname" with target="_blank". If target="windowname" is not included in the link then simply add target="_blank" after href="linkurl".Save it. Now that link will open in a new tab.
For All Links:
If you want that all links in your blogger open in a new tab then follow these steps.
- Go to Blogger > Template > Edit HTML.
- Find <b:skin> and paste the following code above it.
<base target='_blank'/>
- Save Template.
- Job done.
Now you have successfully set your blogger to open all links (whether they are internal or external) will open in a new tab. Cheers :)
Comments
Post a Comment