Bing Doesn't Support data-nosnippet HTML Attribute

Apr 8, 2022 - 7:41 am 0 by
Filed Under Bing SEO

Bing Snippet Data

While Google supports the data-nosnippet HTML attribute, Microsoft Bing does not, clarified Fabrice Canel of Microsoft on Twitter.

The data-nosnippet attribute lets you designate textual parts of an HTML page not to be used as a snippet in the search results in Google, but it does not work for Bing.

Fabrice Canel said "We do not support data-nosnippet tag."

For Google, the help document explains that you can designate textual parts of an HTML page not to be used as a snippet. This can be done on an HTML-element level with the data-nosnippet HTML attribute on span, div, and section elements. The data-nosnippet is considered a boolean attribute. As with all boolean attributes, any value specified is ignored. To ensure machine-readability, the HTML section must be valid HTML and all appropriate tags must be closed accordingly. Google typically renders pages in order to index them, however rendering is not guaranteed. Because of this, extraction of data-nosnippet may happen both before and after rendering. To avoid uncertainty from rendering, do not add or remove the data-nosnippet attribute of existing nodes through JavaScript. When adding DOM elements through JavaScript, include the data-nosnippet attribute as necessary when initially adding the element to the page's DOM. If custom elements are used, wrap or render them with div, span, or section elements if you need to use data-nosnippet.

Again, Microsoft Bing does not listen to this attribute.

Forum discussion at Twitter.

Update: In 2024, Microsoft said it will still not support this attribute anytime soon.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Flux, AdSense Ad Intent, California Link Tax & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: April 24, 2024

Apr 24, 2024 - 4:00 pm
Google Search Engine Optimization

Google: We Won't Change The 301 Redirect Signals For Ranking & SEO

Apr 24, 2024 - 7:51 am
Google

Google Image Search Tests Tablet Like Design Interface

Apr 24, 2024 - 7:41 am
Google Search Engine Optimization

Google: Our Link Best Practices Doc Are Still Good Guidelines

Apr 24, 2024 - 7:31 am
Google Ads

Google Ads Established In Extensions

Apr 24, 2024 - 7:21 am
Bing Search

Bing Tests Lock Icon In New Search Snippet Location

Apr 24, 2024 - 7:11 am
Previous Story: Google AI Can Update Local Listing Hours Including Live Traffic, Street View Imagery & More