Introducing The Robots-Nocontent HTML Attribute

7th May 2007

Yahoo! Search have just introduced a new HTML attribute that their crawlers will recognise as a call to exclude sections of a page from being considered relevant or included in excerpts / snippets on the search listings.

The “robots-nocontent” attribute can be added as a class to any section in a site, such as a div or a table. Yahoo! won’t use the terms contained in these specially tagged sections as information for finding the page or for the abstract in the search results.

Menus, navigational elements, forms, user generated comments could be possible areas of a website that most webmasters might like to prevent the crawler from picking up on and considering as the main content of the page. The syntax of this attribute is very straightforward. It should be added as a class within the element tag. For example:

  • div id=”menu” class=”robots-nocontent”
  • table width=”25%” id=”prices” class=”robots-nocontent”

Yahoo! are updating their index to incorporate this change.

This may seem to be a nice move for some webmasters, but the overall impression left seems to indicates Yahoo!’s inability to semantically dissect information and recognise important content from unimportant or repetitive elements.


Add Your Comments

Share this post via:

  • Twitter
  • Facebook
  • FriendFeed
  • Yahoo! Buzz
  • Digg
  • StumbleUpon
  • Mixx
  • Google Bookmarks

Email Email to a friend


Add Your Comments

Please Note: We do not use nofollow, but we moderate all comments. Your comment will go live once it has been moderated. You do not need to resubmit it.

Avatars are displayed for users logged in via Facebook or can be created on Gravatar.com, and will appear whenever you leave a comment on a Gravatar-enabled blog.

Trackbacks

Trackback URL. (Right-click the link to copy shortcut / link location.)


Subscribe:   RSS RSS   Twitter Twitter   Facebook Facebook

You are here: Home > Search Daily News > Introducing The Robots-Nocontent HTML Attribute