All Links Open in New Window in Blogger

Generally, when we click on any link in a Blogger blog, the linked page will open in the same window (current window). If you want to change that default action and make all your Blogger blog links open in a new window, this post will help you. With a 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 want all links in your blog to open in a new window, you'll need to make some changes to your Blogger blog template. By using one simple HTML tag, you can easily make all your links open in a new window. You won't have to apply these changes to 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 on your Blogger blog will open in a new window.

There's another procedure you can use to make links open in new windows. Simply add the "target='_blank'" attribute to all anchor tags in your Blogger blog. This is the basic process for setting a link to open in a new window, but it takes more time to set the target for all your blog links. So, to make all links open in a new window, use the above method. Use the 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 the link to check.

No comments:

Post a Comment