The Anatomy of a HyperLink

Материал из IrkutskWiki
Перейти к: навигация, поиск

The Anatomy of a HyperLink A standard hyperlink in HTML code looks like this: <a href="http://www.seomoz.org">SEOmoz</a> SEOmoz In this example, the code simply indicates that the text "SEOmoz" (called the "anchor text" of the link) should be hyperlinked to the page http://www.seomoz.org. A search engine would interpret this code as a message that the page carrying this code believed the page http://www.seomoz.org to be relevant to the text on the page and particularly relevant to the term "SEOmoz". A more complex piece of HTML code for a link may include additional attributes such as: <a href="http://www.seomoz.org" title="Rand's Site" rel="nofollow">SEOmoz</a> SEOmoz In this example, new elements such as the link title and rel attribute may influence how a search engine views the link, despite it's appearance on the page remaining unchanged. The title attribute may serve as an additional piece of information, telling the search engine that http://www.seomoz.org, in addition to being related to the term "SEOmoz", is also relevant to the phrase "Rand's Site". The rel attribute, originally designed to describe the relationship between the linked-to page and the linking page, has, with the recent emergence of the "nofollow" descriptive, become more complex. "Nofollow" is a tag designed specifically for search engines. When ascribed to a link in the rel attribute, it tells the engine's ranking system that the link should not be considered an editorially approved "vote" for the linked-to page. Currently, 3 major search engines (Yahoo!, MSN & Google) all support "nofollow". AskJeeves, due to its unique ranking system, does not support nofollow, and ignores its presence in link code. For more information about how this works, visit Danny Sullivan's description of nofollow's inception on the SEW blog. Read more: Pozycjonowanie