| Subcribe via RSS

Nocontent Tag, anuntat de Yahoo

May 3rd, 2007 Posted in www

Yahoo a anuntat ca suporta un nou tag, numit Nocontent. Tagul nocontent permite sa dati instructiunea robotilor sa nu indexeze continutul unei parti din pagina. Motivul pentru care v-ati dori lucrul asta este ca in momentul de fata botii indexeaza si codul sidebarului, css-ul si orice alt cod care apare pe acolo. Folosind Nocontent ii veti putea spune sa indexeze doar ce conteaza, adica textul articolului.

Applying the “class=robots-nocontent” Attribute:
Here are a few examples of how to apply this attribute for various uses and different syntax options:

<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>

Leave a Reply