Yahoo! Introducing “robots-nocontent” Tag

SearchEngineLand reports Yahoo! introduced a new “robots-nocontent” tag which helps to make a block of content non-indexed for Yahoo! Search Results. Yes, I meant a ‘block of content’ inside a page. This doesn’t mean that the content won’t get spidered, it only get excluded while showing the page in SERPs. Please do remember, this new feature is only applicable to Yahoo! and not to any other search engines as of now. Since Yahoo! knows what you display inside this tactic is not comes under the flag of cloaking.

“Does it prevent indexing? No, in the sense that Yahoo is still going to store all the words of your page within the index is creates of web documents. The flagged text simply won’t be SEARCHABLE. Any words you flag should no longer be considered by the part of the Yahoo algorithm that examines the text on a page to determine rankings, Yahoo says.” – SearchEngineLand

How to use the “robots-nocontent”?

This is a simple technique especially for those who are familiar with HTML and CSS. Yahoo! considers “robots-nocontent” as a default css style class and you just need to call it from the HTML block tag you use such as <p> or <div> or similar.


  1. <p class=”robots-nocontent”>This text won’t consider as searchable by Yahoo! </p>
  2. <div>
    <p>the sesentences</p>
    <p>won’t get</p>
    <p>included in the searches</p>

A Word From The Author:

Not to confuse you more but Danny says that we can use the “robots-nocontent” attribute along with an existing style class. The only thing mandatory is, it should be somewhere inside the quoted section. So the following syntax will also work according to Yahoo! <div class=”navigation robots-nocontent”>.

Don’t ask me how the browser is going to parse that, I didn’t try it yet.

Leave a Reply