How to set a link to open in new tab?

By default , all links will open on the same tab. This tutorial will show you how to open the link in a new tab.

Here is a typical link code:

<a href=”http://www.yourURLhere.com” >

To set the link to open to a new tab, add target=”_blank” like this:

<a href=”http://www.yourURLhere.com” target=”_blank”>

Save your changes and re-publish your site for the change to take effects.

Tags: ,