Yahoo的官方Blog发布的消息是Introducing Robots-Nocontent for Page Sections,这个消息对于做SEO相关工作的朋友是一个信号,就是可以添加一个Robots-Nocontent标签在网页代码中,以标识那些与网页主要内容无关的代码。
这些所谓与网页主要内容无关的部分,包括导航栏,菜单等部分。甚至可以把网站都可以表示出来。
标签的用法如下:
<div class="robots-nocontent"> This is the navigational menu of the site and is common on all pages. It contains many terms and keywords not related to this site</div>
<span class="robots-nocontent"> This is the site header that is present on all pages of the site and is not related to any particular page</span>
<p class="robots-nocontent"> This is a boilerplate legal disclaimer required on each page of the site</p>
<div class="robots-nocontent"> This is a section where ads are displayed on the page. Words that show up in ads may be entirely unrelated to the page contents</div>
这个标签影响只限于Yahoo对网站内容的分析和排名,对于链接的权重传递,没有影响。
对于链接有影响的标签是rel=nofollow标签。