How to Put a Backlink on Your Website (HTML Basics)

Add WebProjectList to preferred sources

Learn how to put a backlink on a website with HTML basics: the anchor tag, href, dofollow vs nofollow rel values, and the checks that prove a link is live.

Catherine Le Roux Catherine Le Roux August 17, 2026 5 min read 15 views
Simple HTML anchor tag diagram on a light background

Putting a backlink on a website sounds mysterious until you see the HTML. A backlink is just a normal link on someone else's page that points to your URL. On your own site, you write the same tag when you want to send readers to another page. This guide covers the HTML basics: the anchor element, href, rel attributes, and the mistakes that break links or confuse crawlers.

This is not a three-tier link strategy. If you need the value side of follow attributes, use our practical dofollow vs nofollow guide. Here we stay on markup you can paste and verify.

The core HTML: the anchor tag

Every classic backlink starts with an a element. The minimum useful form looks like this in your mind: an opening tag with an href, visible anchor text, and a closing tag. The href holds the destination URL. The text between the tags is what humans click and what search engines read as the anchor.

Example structure you will use constantly:

  • Open the anchor with href set to the full destination, including https.
  • Write clear anchor text that matches the destination (product name, page topic, or honest call to action).
  • Close the tag so the browser does not swallow the rest of the paragraph.

Absolute URLs (https://example.com/page/) are safer for cross-site links. Relative paths (/pricing) are fine inside your own domain. When you place a link to someone else's site, always use the absolute form they gave you, including trailing slash rules if they care about canonical URLs.

Dofollow, nofollow, sponsored, and ugc in HTML

By default, a plain anchor without a special rel value is treated as a normal followed link in most SEO conversations. People call that dofollow even though HTML does not use a dofollow attribute. You do not write rel="dofollow". You simply omit restrictive rel values unless you need them.

Common rel values you will actually type:

  • rel="nofollow" - tells crawlers not to treat the link as a trusted endorsement signal in the classic sense.
  • rel="sponsored" - marks paid or sponsored placements.
  • rel="ugc" - marks user-generated content such as comments or forum posts.

You can combine values in one rel attribute when needed. The important part for beginners: if a directory or blog says the link is dofollow, expect a normal href without nofollow. If they say nofollow, you should see rel including nofollow (or an equivalent policy on their CMS). For a curated list of places and formats, keep backlink resources open while you practice.

Target, title, and other optional attributes

target="_blank" opens a new tab. If you use it, add rel="noopener" (and often noreferrer) for security on external links. A title attribute can show a tooltip, but it is optional and not a substitute for clear anchor text. Never hide the destination behind vague text like "click here" if you can name the page.

Where the HTML lives in real sites

You rarely edit raw HTML on a modern SaaS marketing site. You still need to know what the CMS emits. In WordPress block editor, a link control writes an anchor under the hood. In Webflow or Framer, the link settings panel maps to href and sometimes rel. In a custom React or Django template, you write the tag yourself or through a component.

Before you call a placement "done," view page source or inspect the element. Confirm:

  1. The href points to the exact URL you wanted (no redirect chain you did not expect).
  2. The anchor text is visible and not empty.
  3. rel matches the agreement (followed vs nofollow/sponsored).
  4. The link is in the main content or a contextual module, not only in a broken widget.

If you control both sites, test on staging first. Broken markup on a live blog post is how you ship a half-closed tag and lose a whole footer.

Suppose you want to point from your resources page to a partner. Open the page template or CMS entry. Highlight the phrase that should become the link. Insert the link and paste the absolute URL. Publish. Then open the live page in a private window, click the link, and confirm the destination.

If you edit HTML directly, paste a complete anchor, save, and hard-refresh. Watch for CMS sanitizers that strip rel values or rewrite URLs. Some builders convert typed HTML into their own link objects and drop attributes you cared about. Re-inspect after every publish.

When the goal is receiving a backlink rather than giving one, your job flips: you supply a clean destination URL, preferred anchor text, and any UTM rules you use for analytics. Keep a short brief ready so the other webmaster does not invent a wrong path.

Misspelled domains and http instead of https are still common. So are links to staging subdomains that never redirect. Another classic error: linking to a URL that 404s after a site redesign. Set up redirects when you change paths.

JavaScript-only "links" that are buttons without a real href can fail for crawlers and for users who open in a new tab. Prefer a real anchor for anything you want indexed as a link. Soft 404 pages, login walls, and geo-blocks can also waste a placement if the destination is not publicly reachable.

Do not stuff exact-match anchors across dozens of sites with identical wording. Natural references use your brand, product category, or a descriptive phrase. For learning the difference in link value terms, again use the dofollow guide linked above rather than guessing from forum myths.

Practice path: from markup to a live listing

Learn the tag, inspect live examples, then place your project where the link is intentional. On WebProjectList you get a structured listing and a path to a real backlink workflow without hand-editing someone else's template. Create an account, add your website details, and verify how your public listing renders before you scale outreach.

After you publish anywhere, log the URL of the page that contains your link, the anchor text, and the date. Recheck monthly. That small log teaches you more than another abstract SEO thread, because you can see the HTML with your own eyes.

A backlink is an HTML anchor with an href pointing at your URL. Dofollow is usually the default plain link; nofollow and sponsored are explicit rel values. Inspect the live markup, keep destinations stable, and practice on real pages until the pattern feels boring. Boring markup is how reliable links ship.

Frequently asked questions

Do I need to write rel="dofollow" in HTML?

No. There is no dofollow attribute. A normal link without nofollow, sponsored, or similar rel values is what people call dofollow. Only add rel when you need to mark nofollow, sponsored, or ugc.

Should I use absolute or relative URLs for backlinks?

Use absolute https URLs when the link points to another site or when you give your URL to someone else. Relative paths are fine for internal links on your own domain.

How do I check if a backlink is really on the page?

Open the live page, use Inspect or View Source, and find the anchor. Confirm href, visible anchor text, and any rel values. Then click the link in a private window to verify the destination.

What is the difference between nofollow and sponsored?

nofollow is a general signal that the link should not be treated as a full endorsement. sponsored marks paid or advertising relationships. Some placements use both. Follow the site's policy and what you agreed in writing.

Related articles

Browser inspect panel highlighting a directory outbound link rel attribute
Backlink

Verify Your Directory Link: Dofollow, Sponsored, or UGC?

A post-listing checklist to inspect directory HTML for dofollow, sponsored, or UGC links. Learn what each rel attribute means and how to log results.

Catherine Le Roux

Catherine Le Roux

Aug 12, 2026

6 min
Dofollow Nofollow SEO
Side-by-side comparison of an article draft and a directory listing card
Backlink

Guest Posts vs Directory Links for Web Projects

Compare guest posts and directory links for web projects by time, cost, and discovery. Learn when each channel wins and how to choose with a simple rule.

Catherine Le Roux

Catherine Le Roux

Aug 10, 2026

5 min
Dofollow Guide SEO
test alt only
Backlink

The Solo Founder's Monday Link Habit

A Monday-to-Friday link habit for solo founders with no budget. Start each week with a WebProjectList dofollow link, then use your story, communities, and peer trades to build authority.

Catherine Le Roux

Catherine Le Roux

Aug 05, 2026

4 min
Dofollow Guide SEO
Build a Launch Calendar for Your Web App
Backlink

Build a Launch Calendar for Your Web App

A four-week launch calendar for web apps: anchor with a permanent WebProjectList listing, then stage Product Hunt, BetaList, Show HN, and communities for sustained visibility.

Catherine Le Roux

Catherine Le Roux

Aug 03, 2026

4 min
Dofollow Guide SEO
Free SaaS Promotion Ranked by Effort
Backlink

Free SaaS Promotion Ranked by Effort

Free SaaS promotion channels ranked by effort, from a five-minute WebProjectList listing to compounding content. Learn where to start when you have no budget and how to turn free traffic into users.

Catherine Le Roux

Catherine Le Roux

Jul 29, 2026

4 min
Dofollow Guide SEO
SaaS Directory Strategy: Pick the Right Platforms in 2026
Backlink

SaaS Directory Strategy: Pick the Right Platforms for Your Product in 2026

A practical breakdown of SaaS directories by purpose - launch platforms for traffic, credibility platforms for trust, and niche platforms for targeted discovery. Start with WebProjectList for a permanent listing and dofollow backlink, then build a submission system that scales.

Catherine Le Roux

Catherine Le Roux

Jul 18, 2026

5 min
Dofollow Guide Nofollow
Free Backlinks 2026: Priority Guide for Busy Founders
Backlink

Free Backlink Opportunities: What to Do First, Second, and Third in 2026

50+ free backlink opportunities organized by time investment. 5-minute links (WebProjectList, Crunchbase, GitHub), 30-minute links (G2, Capterra, SourceForge), and ongoing strategies (Medium, Dev.to, YouTube). Includes what to skip and a realistic workflow for founders.

Catherine Le Roux

Catherine Le Roux

Jul 15, 2026

5 min
Dofollow Rank SEO