Use “nofollow” to create HTML link that doesn’t follow the link. In HTML, while adding an external link, you can set the attribute “rel” as “nofollow” or “dofollow” −
The “nofollow” value tells the search engine − “Don't follow links on this page" or "Don't follow this specific link."
<a href="example.com" rel="nofollow">Another Website</a>
While using “nofollow”, the search engine won’t transfer anchor text across these link.