“Dofollow” is an informal SEO term for an ordinary link without qualifiers such as nofollow, sponsored or ugc. You do not need a dofollow attribute or rel value to make a normal HTML link.

Follow a normal document linkLink

HTML and CSS

HTML

<a href="#notes">Read the project notes</a>
<h2 id="notes">Project notes</h2>
<p>This is an ordinary link to another part of the document.</p>

CSS

a {
  text-underline-offset: 0.2em;
}

Edit HTML or CSS to update the preview as you type. Copy code snippet copies the selected tab. Preview spacing and font defaults are not included.

The href provides the destination; the text tells the reader what is there. Search engines can discover pages through crawlable links, but a link does not guarantee crawling, indexing or a ranking change.

Google recommends rel="sponsored" for paid placements and rel="ugc" for user-generated links. Use nofollow when the other values do not fit and you do not want Google to associate your site with the destination or follow that link from your site. These are values of rel, not separate Boolean attributes.

Do not buy or manufacture links to manipulate rankings, and do not chase a fixed ratio of ordinary and qualified links. Focus on useful destinations and accurate relationship values. See nofollow and other qualifiers and the anchor element.

Sources

Reference 1 Reference 2 provide the technical details and current compatibility information.