Anchor text

From Wikipedia, the free encyclopedia

The word "Wikipedia" is the anchor text in this hyperlink.

The anchor text, link label or link text is the visible, clickable text in an HTML hyperlink. The term "anchor" was used in older versions of the HTML specification[1] for what is currently referred to as the a element, or <a>.[2] The HTML specification does not have a specific term for anchor text, but refers to it as "text that the a element wraps around". In XML terms (since HTML is XML), the anchor text is the content of the element, provided that the content is text.[3]

Usually, web search engines analyze anchor text from hyperlinks on web pages. The words contained in the anchor text can determine the ranking that the page will receive from search engines. Other services apply the basic principles of anchor text analysis as well. For instance, academic search engines may use citation context to classify academic articles,[4] and anchor text from documents linked in mind maps may be used too.[5]


Anchor text usually gives the user relevant descriptive or contextual information about the content of the link's destination. The anchor text may or may not be related to the actual text of the URL of the link. For example, a hyperlink to the English-language Wikipedia's homepage might take this form:

<a href="">Wikipedia</a>

"Wikipedia" is the anchor text in this example. The URL it points to is The entire hyperlink appears on a web page as Wikipedia.

Search engine algorithms[edit]

Anchor text is weighted (ranked) highly in search engine algorithms, because the linked text is usually relevant to the landing page. The objective of search engines is to provide highly relevant search results; this is where anchor text helps, as the tendency was, more often than not, to hyperlink words relevant to the landing page. Anchor text can also serve the purpose of directing the user to internal pages on the site, which can also help to rank the website higher in the search rankings.[6]

Webmasters may use anchor text to procure high results in search engine results pages. Google's Webmaster Tools facilitate this optimization by letting website owners view the most common words in anchor text linking to their site.[7] In the past, Google bombing was possible through anchor text manipulation; however, in January 2007, Google announced it had updated its algorithm to minimize the impact of Google bombs, which refers to a prank where people attempt to cause someone else's site to rank for an obscure or meaningless query.[8]

In April 2012, Google announced in its March "Penguin" update that it would be changing the way it handled anchor text, implying that anchor text would no longer be as important an element for their ranking metrics.[9] Moving forward, Google would be paying more attention to a diversified link profile which has a mix of anchor text and other types of links. .[10]

However a 2016 study of anchor text influence across 16,000 keywords found that presence of exact and partial match anchor links continues to have a strong correlation with Google rankings.

August 2016 study conducted by Moz, found that Exact and partial match domains can be affected by over optimization penalty since Google considers domain Brand and naked URL links as Exact match.[11]


There are different classifications of anchor text that are used within the search engine optimization community such as the following:

Exact match
an anchor that is used with a keyword that mirrors the page that is being linked to. Example: "search engine optimization" is an exact match anchor because it's linking to a page about "search engine optimization".
Partial match
an anchor that is used with a keyword and a variation that mirrors the page that is being linked to. Example: "different search engine optimization techniques" is a partial match anchor when it's linking to a page about "search engine optimization".
a brand that is used as the anchor. "Wikipedia" is a branded anchor text.
Naked link
a URL that is used as an anchor. "" is a naked link anchor.
a generic word or phrase that is used as the anchor. "Click here" is a generic anchor. Other variations may include "go here", "visit this website", etc.
whenever an image is linked, Google will use the "alt" attribute as the anchor text.
whenever an image is linked, and the "alt" attribute is empty.
Latent semantic indexing
Latent semantic indexing (LSI) is a method used by Google to determine similar keywords.


  1. ^ "HTML 3.2 Reference Specification".
  2. ^ "HTML Standard".
  3. ^ "Extensible Markup Language (XML) 1.0 (Fifth Edition)".
  4. ^ Bader Aljaber; Nicola Stokes; James Bailey; Jian Pei (1 April 2010). "Document clustering of scientific texts using citation contexts". Information Retrieval. 13 (2). Springer: 101–131. doi:10.1007/s10791-009-9108-x. S2CID 18990883.
  5. ^ Beel, Joeran (1 October 2010). "Retrieving Data from Mind Maps to Enhance Search Applications". Bulletin of IEEE Technical Committee on Digital Libraries. Archived from the original on 29 September 2011. Retrieved 5 May 2011.
  6. ^ "How the Web Uses Anchor Text in Internal Linking [Study]". Search Engine Watch. 24 April 2012. Retrieved 6 July 2012.
  7. ^ Fox, Vanessa (15 March 2007). "Get a more complete picture about how other sites link to you". Official Google Webmaster Central Blog. Archived from the original on 31 March 2007. Retrieved 27 March 2007.
  8. ^ Cutts, Matt (25 January 2007). "A quick word about Googlebombs". Official Google Webmaster Central Blog. Archived from the original on 24 March 2007. Retrieved 27 March 2007.
  9. ^ "Google's March Update".
  10. ^ "Google Penguin Update: Impact of Anchor Text Diversity & Link Relevancy". Search Engine Watch. 6 May 2012. Retrieved 6 July 2012.
  11. ^ "Case Study: The Interconnectedness of Local SEO and Exact Match Domains". Moz. Retrieved 12 December 2016.