Command to open a link in new window

The command to open a link in a new window is:

target="_blank"

You can add this attribute to the <a> tag that contains the link you want to open in a new window.

For example:

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

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

Alternatively, you can also use the rel attribute with the value noopener to prevent the new window from having access to the parent window's context:

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

This is a good practice to prevent potential security vulnerabilities.