How To Make All Links Open In New Windows In Blog

Socialize: 
This request to make all hyperlinks pops up every now and then so might as well make a post for it. To make all linksopen in new window is amazingly simple. Just sign into

DASHBOARD > LAYOUT > EDIT HTML
to open template editor
Use keyboard shortcut ctrl+F to find <head> and immediately after that, add a single line



<base target='_blank' />

so that it become

<head>
<base target='_blank' />

Save the edited template and viola, 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.

Note 2: Just wondering if adding a note for frequent visitors to set browser to open in new tabs rather than new windows will reduce the number of visitors having an unmanageable numbers of new windows opened. Do leave your opinions in the comments below:

    You may also like...

  • Stylish Google Plus Widget For Website And Blog

    Stylish Google Plus Widget For Website And Blog

    Google Plus WidgetShow off with your new designed Google Plus Widget.The widget allows you to show…

  • Stylish Hover Page HTML-CSS Navigation Menu For Blog And Website

    Stylish Hover Page HTML-CSS Navigation Menu For Blog And Website

    One of the most important gadget in blog is navigation menu. Navigation menu help to you access…

  • How To Add Music to Blog And Website

    How To Add Music to Blog And Website

    Background music has a cool effect on the visitors of your blog or websites. It may help you in…

  • How To Install Blogger Own Contact Form On A Static Blog Page

    How To Install Blogger Own Contact Form On A Static Blog Page

    Since the start of the year 2013 the Google has launched many new features i.e. widgets for its…

  • How to Add Facebook Like Button In Each Post In Blogspot

    How to Add Facebook Like Button In Each Post In Blogspot

    You want to add the official Facebook Like or Recommend Button at the end (or at the top) of each…

  • How to Bring Blogger Navbar To Bottom.

    How to Bring Blogger Navbar To Bottom.

    Have you ever thought of bringing the Blogger navbar to the bottom of the page?This post is focused…

  • How to Make your Blogger Blog ready for Mobile Phones

    How to Make your Blogger Blog ready for Mobile Phones

    As you know, millions of people use their mobile phones to access internet. The mobile internet…

No comments:

Post a Comment

About Me

Hi, I am Muhammad Saalim, Co-Founder of EXEIdeas International and CEO of bord4banned. I am here to share my experiences with you and to help those who can help themselves.

Follow Me



Join Our Official FaceBook Group To Stay With Us.

Caution!

All data, codes, articles, tips and tricks etc, posted here are copyright work of MyTutspot.Blogspot, and are protected with DMCA. Any one, found to be thefting any data, will be under LEGAL ACTION.

My Tutspot.Blogspot 2018 All Rights Reserved
Designed by born4banned | A Project of EXEIdeas International