All links open in new window in blogger

Generally when we click on any link in Blogger blog, that linked page will open in the same widow(current window). If you want to change that default action and want to make all your Blogger blog links open in a new window this post will help you. With small change all your blog links will open in a new window automatically.

How to make all links open in a new window in Blogger Blog

If you really want to open a new window for all links in your blog then you have to do some changes on your Blogger blog template. With one simple HTML tag you can easily make all your links open in a new window. You don't apply these changes on each link manually, just follow this method.

Follow below steps to make all links open in a new window in Blogger

Step 1 : Go to Blogger Dashboard

Step 2 : Click on Template on your Blogger Dashboard

Step 3 : Click on Edit HTML

Step 4 : Search <head> in template code and add new below line just after <head>

              <base target='_blank' />  <

step 5 : Click on Save template.

That's it. Now all links will open in new window on your Blogger blog.

Another procedure is also there to make the links open in new windows. Just add target="_blank" attribute to all anchor tags in your Blogger blog. This is the basic process to set a link open in a new window. But it takes more time to set target to all your blog links. So to make all links open in new widow, use above method. Use below method to make a specific link open in a new window.

How to make a specific link open in a new window manually :


Add target attribute to anchor tag like below

<a href="your link url" target="_blank"></a>

This is the basic process to make a link open in a new window.

Follow below steps to make a link in your blog post open in a new window :

Step 1 : Open blog post , To open your blog post , Click on Posts and click on Edit

Step 2 : Move to HTML mode by click on HTML on your post editor

Step 3 : Search for the anchor tag

Step 4 : Add target="_blank" to your anchor tag like below

<a href="your link url" target="_blank"></a>

Step 5 : Click on Update.

Now open your blog post and click on that link and check.

No comments:

Post a Comment