Links are HTML elements materialized by the <a> tag. They are placed in a page and allow users, by clicking on them, to access another page. We talk about external links when they lead the user to another site. It is possible to define the behavior of a link on the browser with the attribute "target". When it is not set, the page opens on the current tab and replaces the current page. When defined with the value "_blank", it opens a new tab on the browser and leaves the current page accessible.
Example of an external link opening on a new tab :
<a href="https://cocolyze.com" target="_blank">Cocolyze</a>
In order to secure external links, it is necessary to add the attribute "rel", on all links <a>, specifying the value "noopener" or "noreferrer" when they open on a new tab.
Example of a protected external link :
<a href="https://cocolyze.com" target="_blank" rel="noopener">Cocolyze</a>