Crawling Indexing

data-nosnippet

An HTML attribute that excludes a specific span, div or section of a page from being used in Google's snippets while leaving the rest eligible.

In full

Applied as a boolean attribute on span, div or section elements, data-nosnippet gives paragraph-level control instead of the page-level control of nosnippet. It is useful for hiding boilerplate, prices that change, or licensed text from snippets and generative summaries without suppressing the whole page. It affects presentation only, the content is still crawled and indexed for ranking.

Example

`<span data-nosnippet>Members only: current price €39</span>` keeps a member price out of the SERP snippet.

Related terms

nosnippet / max-snippet

Robots directives controlling whether and how much of a page's text a search engine may show as a snippet or use in generated summaries.

Robots meta tag

A `<meta name="robots">` element in the HTML head carrying per-page indexing and serving directives such as noindex, nofollow, nosnippet…

Featured snippet

A block at or near the top of Google's results that quotes an extracted answer from a page, with a link to the source.

AI Overviews

Google's AI-generated summaries shown at the top of many search results, synthesising information from multiple web pages with links to…

Structured data

Machine-readable annotations on a page, usually Schema.org vocabulary in JSON-LD, that describe entities and make pages eligible for rich…

Where to read more