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.