By default, a link from one page to another acts like a vote: it helps search engines discover the destination and can pass ranking signals to it. A nofollow attribute tells search engines that you don't want to vouch for the page you're linking to.
What a nofollow link looks like
<a href="https://example.com/" rel="nofollow">Example</a>A "dofollow" link is just a normal link with no rel restriction. There's no such thing as a rel="dofollow" attribute; it's a nickname for the default.
The three link attributes
In 2019, Google added two more specific values alongside nofollow:
| Attribute | Use it for |
|---|---|
rel="sponsored" | Paid links, adverts, affiliate links and sponsorships |
rel="ugc" | Links in user-generated content such as comments and forum posts |
rel="nofollow" | Any other link you don't want to vouch for |
You can combine them, for example rel="nofollow sponsored". Google treats all three as hints rather than strict commands: it may still use the link for discovery or as a ranking signal.