Html target new tab

To open a link in a new tab in HTML, you can use the target attribute and set its value to _blank. 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 the user clicks on it.

You can also use the target attribute with other values, such as:

For example:

<a rel="nofollow" target="_blank" href="https://www.example.com" target="_self">Open in same tab</a>
<a rel="nofollow" target="_blank" href="https://www.example.com" target="_parent">Open in parent frame</a>
<a rel="nofollow" target="_blank" href="https://www.example.com" target="_top">Open in full window</a>

Note that the target attribute only works for links that are not already in a frame. If you want to open a link in a new tab from within a frame, you will need to use JavaScript to achieve this.