How to create HTML link that doesnt follow the link?

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="" rel="nofollow">Another Website</a>

While using “nofollow”, the search engine won’t transfer anchor text across these link.

Updated on: 16-Jun-2020


Kickstart Your Career

Get certified by completing the course

Get Started