• 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

ASUS-Zenfone-6

Asus Zenfone 6 In-depth Review: An Ultimate Grab

By Nitin Maheta

Zenfone-3-max-vs-oppo-f1s

Specs Comparison: Asus Zenfone 3 Max 5.5″ vs. Oppo F1s

By Tejas Maheta

Woman-Working-On-Laptop

Verifying the Information You Find Online

By Nitin Maheta

lipoma

Here’s How You Can Know if You Have Lipoma?

By Nitin Maheta

Android-Screenshot

How to Take a Screenshot on Android

By Tejas 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