October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
anchor text

HTML for Backlinks: Build Crawlable, Properly Qualified Links

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

HTML for a backlink is usually a standard anchor element whose href resolves to the page being recommended: <a href="https://example.com/page">descriptive anchor text</a>. Google says it can generally crawl an HTML <a> with an href. Use concise, relevant anchor text, and add the appropriate rel value when the link is paid, user-generated, or intentionally unendorsed.

What makes HTML backlink crawlable?

A backlink is an incoming link from another website to your page. The linking page should expose it as a real anchor element with a resolvable href, rather than as a click action implemented only with JavaScript. Google’s guidance is explicit: “Generally, Google can only crawl your link if it’s an <a> HTML element (also known as anchor element) with an href attribute.” See Google’s crawlable-links documentation.

Basic absolute URL

<a href="https://example.com/relevant-page">descriptive destination text</a>

An absolute HTTP or HTTPS URL states the complete destination and is easiest to inspect when you do not control the site structure.

Relative URL

<a href="/guides/html-backlinks">HTML backlink guide</a>

A relative path can also be crawlable when it resolves correctly against the linking page’s URL. Check that it does not produce a broken path, an unintended redirect, or a URL blocked by the site’s configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Markup that is not a dependable substitute

<span onclick="window.location='/guides/html-backlinks'">Read the guide</span>
<a>Read the guide</a>

Event-handler navigation and an anchor without href do not provide the standard crawlable link structure Google describes. If a destination is important, expose it in an actual anchor.

Write anchor text that describes the destination

Anchor text is the visible text between the opening and closing anchor tags. Google recommends that it be descriptive, reasonably concise, and relevant both to the page containing the link and to the page it points to.

  • Describe what the reader will find, such as HTML backlink examples or the site’s accessibility checklist.
  • Keep the wording natural and specific to the surrounding sentence.
  • Do not use vague text such as click here when a meaningful description is possible.
  • Do not force repeated keyword phrases that do not fit the context.

For an image used as a link, Google may use the image’s alt text as the anchor text. Write alt text that identifies the linked destination while still serving users who cannot see the image.

<a href="https://example.com/data-guide">
  <img src="chart.png" alt="2026 data visualization guide">
</a>

Choose the right rel value

Ordinary editorial links do not need a rel qualification when the publisher is comfortable with Google fetching and parsing the destination. Add a value when the relationship or your intended association requires it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Link situation Recommended HTML Purpose
Ordinary editorial link <a href="https://example.com/relevant-page">relevant page</a> No qualification is required by this guidance.
Paid or sponsored placement <a href="https://example.com/paid-placement" rel="sponsored">sponsor description</a> Identifies a compensated or otherwise sponsored relationship.
User-generated content <a href="https://example.com/community-resource" rel="ugc">community resource</a> Identifies links placed in comments, forums, or other user submissions.
Link you do not want to associate with or have Google crawl <a href="https://example.com/untrusted-page" rel="nofollow">contextual link text</a> Signals that you do not want to endorse the destination or request crawling through the link.

Google prefers rel="sponsored" for paid links, although nofollow remains acceptable for paid links. Use nofollow when the other relationship values do not apply and you would rather not associate your site with, or have Google crawl, the destination. Multiple values can be combined when they accurately describe the link, for example rel="ugc nofollow".

These attributes describe the relationship on the page that contains the link. A site linking to your page may choose its own qualification; you cannot add a rel value to that site’s HTML from your own page.

Complete backlink HTML examples

Editorial reference to a specific page

<p>Our <a href="https://example.com/html-backlinks">HTML backlink guide</a> explains the required markup.</p>

Paid placement

<p>Read the <a href="https://example.com/partner-guide" rel="sponsored">partner’s implementation guide</a>.</p>

Forum or comment link

<a href="https://example.com/community-resource" rel="ugc">community resource</a>

Untrusted destination

<a href="https://example.com/untrusted-page" rel="nofollow">external reference</a>

Pre-publication checklist for a backlink

  1. Confirm the element is an <a> tag and includes an href.
  2. Open the final URL and verify that it resolves to the intended page over HTTP or HTTPS.
  3. Check the visible anchor text (or linked image’s alt text) describes that destination.
  4. Use an absolute URL or verify that a relative URL resolves correctly from the linking page.
  5. Add rel="sponsored" for paid placements and rel="ugc" for user-generated links.
  6. Use rel="nofollow" where you do not want to associate with or have Google crawl the destination, including cases where no more specific relationship value applies.
  7. Inspect the rendered HTML to ensure JavaScript, templates, or redirects have not removed or changed the anchor.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What this markup can and cannot establish

Correct anchor HTML makes a link available for Google to crawl and helps communicate its destination and relationship. It does not guarantee that Google will crawl, index, or rank the linked page, and the official guidance does not quantify ranking impact for any individual backlink. Treat crawlable markup as a technical prerequisite, not a promise of search visibility.

For the complete current recommendations, consult SEO Link Best Practices for Google and Qualify Outbound Links for SEO.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Read next

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.