Html anchor open in new tab

To make an HTML anchor open in a new tab, you can add the target attribute to the a tag and set its value to _blank. Here's 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 or window when the user clicks on it.

Note that you can also use target="_new" or target="_noopener" instead of _blank, but _blank is the most commonly used and supported option.

If you want to open the link in a new tab and also prevent the parent page from being reloaded, you can add the rel attribute and set its value to noopener:

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

This will prevent the parent page from being reloaded and also prevent the new tab from being able to access the parent page's content.

It's worth noting that some browsers may not support the target attribute or may have different behavior when it's used. For example, some browsers may open the link in a new window instead of a new tab.