• Skip to main content
  • Skip to primary sidebar
Making Different

Making Different

Create, Learn, Build or Fix

  • Tech
  • Business
  • Relationship
  • Health
  • Travel
You are here: Home / Web Development / HTML / How to make all links open in new windows (Blogger/Blogspot)

How to make all links open in new windows (Blogger/Blogspot)

March 16, 2013 by Nitin Maheta

open-all-links-in-new-windows-blogspot
Instead of adding a tag in each link to open in new windows, a simple trick will make all links open in a new window quickly. To make all links open in a new window is amazingly simple.

All you have to do is add a code snippet before ending the head tag in your blog or website.

So, how do you make all links open in new windows with a simple code?

  • First of all, sign in to Blogger.
  • Go to Template and select the option “Edit HTML”
  • Use Ctrl+F to enable search box, then <head>
  • Immediately after that, add a single line <base target=’_blank’ /> so that it becomes
<head>
<base target=’_blank’ />

Save the edited template, and you have done it. All links in your blog will now open in new tabs or windows.

Note: Blogger is now XHTML, so all tags must have matching closing tags or be self-closing. The above tag is self-closing because it has that forward slash / at the end of the tag.



About Nitin Maheta

Nitin Maheta is editor in chief and webmaster of MakingDifferent Blog. You may reach him out on following social media:

Facebook | Twitter | Instagram

Primary Sidebar

Similar Posts

  • iFrame Generator – Free Online HTML iFrame Creator

Random Posts

Why-Phone-Calls-Are-A-Waste-of-Time

Phone Call vs Email | Here’s Why Phone Calls Are A Waste of Time

By Nitin Maheta

WhatsApp Lock

Password Lock Your WhatsApp Application

By Nitin Maheta

amazon-logo

Amazon.com has Launched Amazon CPM Ads

By Nitin Maheta

how-to-spot-a-liar

How to Spot A Liar?

By Nitin Maheta

The Long-Term Consequences of Untreated Mental Illness

The Long-Term Consequences of Untreated Mental Illness

By Nitin Maheta

All categories | About us | Contact us | Privacy policy | Disclaimer | Write for Us | Dictionary | Sitemap

The owner of this site is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.

© 2025 Making Different