The URL in href
A crawler follows the URL in href to discover another page and add it to the site's crawl graph.
HTML and internal linking
href is the attribute inside an HTML <a> tag that contains the link destination. For SEO, a useful link combines a crawlable href, clear anchor text, a working destination and a logical place in the site structure.
Key points
A crawler follows the URL in href to discover another page and add it to the site's crawl graph.
Visible link text explains the destination. “Check robots.txt” is more useful than “click here”.
Links from navigation, category pages and related guides help show relationships and important user routes.
<a href="/en/tools/seo-audit/">Run an SEO audit for this page</a>
The href contains the destination URL. The text between the opening and closing tags is the anchor. Search engines can use the href to discover the target page, while people and crawlers use the anchor and surrounding text to understand why the destination matters.
Prefer a normal <a href="…"> link for navigation. A JavaScript click handler on a div may be harder to discover, cannot be opened like a normal link and often creates keyboard-accessibility problems.
| href value | Use | SEO check |
|---|---|---|
/guide/ | Root-relative internal URL | Clear and portable inside the same site. |
https://example.com/guide/ | Absolute URL | Useful when the full origin must be explicit. |
#faq | Page fragment | Moves to a section; it does not create a separate indexable page. |
| Missing href | Not a normal link | Add a real destination when the element is used for navigation. |
| Example | Quality | Reason |
|---|---|---|
<a href="/robots/">how to check robots.txt</a> | Good | The text describes the destination naturally and clearly. |
<a href="/robots/">learn more</a> | Weak | The destination is unclear without reading the surrounding paragraph. |
<a href="/robots/">robots txt checker robots SEO free tool</a> | Poor | Keyword stuffing hurts readability and looks manipulative. |
Attributes
rel="noopener" for safer behavior.An internal link points to another page on the same site. It helps crawlers discover URLs and helps users continue a task. A useful route connects a definition to a guide, a guide to a tool and a tool result to the next practical check.
More links are not automatically better. Link related pages when the destination genuinely helps the reader continue.
An external link is useful when it supports a claim, points to official documentation or gives the reader a necessary resource. A normal editorial link does not need automatic nofollow. Paid and user-generated links should use the appropriate rel value.
Checklist
href and works without a fragile JavaScript-only interaction.Common mistakes
Tools
Find internal and external destinations that return errors or need review.
Check a page → RedirectsInspect every HTTP step and confirm the link reaches the intended final page.
Check a URL → AuditReview metadata, canonical, structure and internal link signals.
Run audit →FAQ
Yes. It provides context for the destination, but it should remain natural and useful to readers.
No. Visible link text is more important. Use title only when it adds information that is genuinely helpful.
Usually not. For normal site navigation, fix structure, canonicals and page quality instead of applying nofollow broadly.