Monday, September 21, 2026
HomeSEOMicrosoft Bing Does Not Help The info-nosnippet HTML Attribute

Microsoft Bing Does Not Help The info-nosnippet HTML Attribute

[ad_1]

Microsoft Bing Does Not Help The info-nosnippet HTML Attribute

Whereas Google helps the data-nosnippet HTML attribute, Microsoft Bing doesn’t, clarified Fabrice Canel of Microsoft on Twitter.

The info-nosnippet attribute enables you to designate textual components of an HTML web page not for use as a snippet within the search ends in Google, however it doesn’t work for Bing.

Fabrice Canel mentioned “We don’t help data-nosnippet tag.”

For Google, the assistance doc explains that you could designate textual components of an HTML web page not for use as a snippet. This may be executed on an HTML-element degree with the data-nosnippet HTML attribute on span, div, and part parts. The info-nosnippet is taken into account a boolean attribute. As with all boolean attributes, any worth specified is ignored. To make sure machine-readability, the HTML part should be legitimate HTML and all acceptable tags should be closed accordingly. Google usually renders pages with the intention to index them, nevertheless rendering isn’t assured. Due to this, extraction of data-nosnippet could occur each earlier than and after rendering. To keep away from uncertainty from rendering, don’t add or take away the data-nosnippet attribute of present nodes by JavaScript. When including DOM parts by JavaScript, embody the data-nosnippet attribute as obligatory when initially including the factor to the web page’s DOM. If customized parts are used, wrap or render them with div, span, or part parts if you might want to use data-nosnippet.

Once more, Microsoft Bing doesn’t take heed to this attribute.

Discussion board dialogue at Twitter.



[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments