Make a link open in a new tab

To make a link open in a new tab, you can add the attribute target="_blank" to the link tag.

Here is an example:

<a rel="nofollow" target="_blank" href="https://www.example.com" target="_blank">Open in new tab</a>

This will open the link in a new tab when clicked.

Alternatively, you can also use the rel attribute with the value noopener to prevent the new tab from being able to access the parent page's cookies and other information:

<a rel="nofollow" target="_blank" href="https://www.example.com" target="_blank" rel="noopener">Open in new tab</a>

This is a good practice to use when opening links in new tabs to prevent potential security issues.