In
this tutorial, I am going to share how to open all web links or hyperlinks
in new tabs. You might have all kinds of reasons as to why you want to have
your links to open in new tabs. If I had to
guess, I would say you want your readers to keep exploring and crawling your
blog/website while always having a chance of going back to the referring page
(where they came from).
When you click on a link of a blogger blog, it opens in the same tab
which is a bit annoying. To change this thing, you will have to add a
small code in your HTML section which is only going to take a few
seconds. Let me show you how to do it.
- Go to Blogger- Template- Edit HTML.
- Click on Proceed.
- Now search for <head> (Use "Ctrl+f" to search).
- Just below <head> add the below code.
<base target='_blank'/>
- Click on Save Template and you are done.
- Now visit your blog and click on any link. You will see that the link will open in a new tab.
0 comments:
Post a Comment