In the code, the anchor text is the text placed between the <a> and </a> tags. In the example below, the URL says where the link goes, and the anchor “limit login attempts” says what the reader will find there:
To stop bots that keep guessing passwords,
remember to <a href="https://example.com/limit-logins/">limit login attempts</a>.
Readers use it to decide whether to click; search engines use it to understand what the target page is about, before they have even crawled it.
What Google reads as anchor text
According to Google's documentation on links, the anchor is first and foremost the visible text of the link. When the link is an image, its alternative text (alt) plays that role; if the link is empty, Google may fall back on the title attribute. The link also has to be readable: Google only reliably follows <a> elements with an href attribute pointing to a real URL. A button that changes pages with JavaScript, without an actual link, may go unnoticed.
Types of anchor text
| Type | Example | Comment |
|---|---|---|
| Descriptive | “WordPress backup guide” | Ideal: precise and natural |
| Branded | “WP Feint” | Common for links pointing to a site |
| Naked URL | “example.com” | Natural, but not very informative |
| Generic | “click here”, “read more” | Avoid: tells the reader nothing |
| Exact-match keyword | “best cheap web host” | Suspicious if it is repeated everywhere |
Best practices
- Describe the destination: a few words are enough, no need to repeat a whole sentence.
- Give context: Google recommends surrounding the link with text that explains it and avoiding several links chained side by side.
- Don't stuff keywords: an overloaded anchor reads badly and looks artificial, to readers and search engines alike.
- Vary the wording for the same page, especially in your internal linking: it describes the target from several angles and stays natural.
- Think about accessibility: a screen reader can list every link on a page out of context, and ten “click here” links then become meaningless.
Anchor text and external links
For backlinks, you don't always get to choose the anchor, and that is perfectly fine. A natural link profile mixes the brand name, the URL and a variety of phrasings. Link building campaigns that push the same commercial anchor across dozens of sites, on the other hand, leave a footprint that is easy to spot, which looks more like a campaign than like spontaneous citations. It is better to let each publisher phrase the link in their own way and to focus on sites close to your topic.
For WordPress
In the block editor, select a few words and use the Link tool (Ctrl+K): the selected text becomes the anchor. For a linked image, fill in the alternative text in the block settings. Avoid theme buttons that only display “Read more” on every post card, or give them a more explicit accessible label. Finally, during an audit, the internal link export of a crawling tool helps you spot empty anchors, generated by an icon or an image without alternative text.