Sub topic 1
Anatomy of a hyperlink: `href`, anchor text, and `rel`
Prerequisites
Assume you can read basic HTML and understand that a URL identifies a web page. You should also know that search engines crawl pages before adding them to their index.
Anatomy of a hyperlink
An HTML hyperlink uses an <a> element. Its main parts are:
href: the destination URL.- Anchor text: the visible, clickable words.
rel: optional values that describe the relationship to the destination.
<a href="https://example.com/guide" rel="nofollow">
Example guide
</a>Here, https://example.com/guide is the target. Example guide is the anchor text. nofollow tells search engines that the linking page does not explicitly vouch for the target.
What a backlink is
A backlink is a link to your page from another website. If news.example links to shop.example/product, that link is a backlink for shop.example.
An internal link connects pages on the same website. A link from shop.example to another page on shop.example is internal. Both types help crawlers move through a site, but backlinks can also indicate that an independent site considers a page useful.
How crawlers record links
A crawler fetches a page, parses its HTML, and extracts links. It can record the destination, anchor text, and rel values. It may then schedule the destination for fetching.
A discovered link does not guarantee indexing or ranking. Access rules, duplicate content, page quality, and crawl decisions also matter.
Why links work as votes
The PageRank idea models links as votes. A page receives more importance when other pages link to it, especially when those pages are themselves well connected. A linking page can split its influence across multiple outgoing links.
This is only a simplified model. Modern ranking systems use many signals, including relevance, content quality, user intent, and technical accessibility. A large number of unrelated links is not automatically better than a small number of relevant links.
Exercise
In <a href="/pricing" rel="sponsored">Plans</a>, identify the destination, anchor text, and relationship value.
Show answer
The destination is /pricing, the anchor text is Plans, and the relationship value is sponsored.