Để chặn mọi đoạn trích (bao gồm cả đoạn trích nổi bật và đoạn trích thông thường) xuất hiện cho một trang cụ thể, hãy thêm quy tắc nosnippet vào trang đó.
Văn bản được đánh dấu bằng thuộc tính HTML data-nosnippet sẽ không xuất hiện cả trong đoạn trích nổi bật và đoạn trích thông thường.
Nếu các quy tắc nosnippet và data-nosnippet đồng thời xuất hiện trên một trang, thì nosnippet sẽ được ưu tiên và đoạn trích cho trang đó sẽ không xuất hiện.
Chỉ chặn đoạn trích nổi bật
Nếu muốn giữ lại đoạn trích trong các kết quả tìm kiếm có định dạng thông thường nhưng lại không muốn những đoạn trích đó xuất hiện dưới dạng đoạn trích nổi bật, thì bạn có thể thử dùng quy tắc max-snippet để rút ngắn độ dài đoạn trích. Đoạn trích nổi bật chỉ xuất hiện khi có đủ nội dung văn bản để tạo một đoạn trích nổi bật hữu ích.
Hãy tiếp tục giảm giá trị này nếu các trang của bạn tiếp tục hiển thị dưới dạng đoạn trích nổi bật. Nhìn chung, giá trị cài đặt cho quy tắc max-snippet càng ngắn thì khả năng trang xuất hiện dưới dạng đoạn trích nổi bật càng thấp.
Google không đặt ra yêu cầu cụ thể về độ dài tối thiểu để trang xuất hiện dưới dạng đoạn trích nổi bật.
Nguyên nhân là độ dài tối thiểu thay đổi dựa trên nhiều yếu tố, bao gồm nhưng không chỉ gồm những yếu tố như thông tin trong đoạn trích, ngôn ngữ và nền tảng (thiết bị di động, ứng dụng hoặc máy tính).
Việc đặt một giá trị thấp cho max-snippet không đảm bảo rằng Google sẽ dừng hiển thị đoạn trích nổi bật cho trang của bạn. Nếu bạn cần một giải pháp chắc chắn, hãy dùng quy tắc nosnippet.
Tôi có thể đánh dấu để trang xuất hiện dưới dạng đoạn trích nổi bật bằng cách nào?
Bạn không thể làm điều đó. Các hệ thống của Google sẽ xác định xem có thể dùng một trang để tạo đoạn trích nổi bật hữu ích cho yêu cầu tìm kiếm của người dùng hay không. Nếu có thì Google sẽ tạo đoạn trích nổi bật cho trang đó.
Điều gì xảy ra khi người dùng nhấp vào một đoạn trích nổi bật?
Khi nhấp vào một đoạn trích nổi bật, người dùng sẽ được đưa thẳng đến phần trên trang đã xuất hiện trong đoạn trích nổi bật đó. Việc cuộn đến vị trí của nội dung trong đoạn trích diễn ra tự động mà không cần trang web thêm chú thích nào. Nếu trình duyệt không hỗ trợ công nghệ cơ bản cần thiết, hoặc nếu hệ thống của chúng tôi không thể xác định chắc chắn vị trí chính xác trên trang mà người dùng sẽ được đưa tới sau khi nhấp vào đoạn trích, thì khi người dùng nhấp vào đoạn trích nổi bật, họ sẽ được đưa đến vị trí trên cùng của trang web nguồn.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-04 UTC."],[[["\u003cp\u003eFeatured snippets are selected by Google's algorithms to provide concise answers directly on the search results page.\u003c/p\u003e\n"],["\u003cp\u003eWebsite owners can opt out of featured snippets entirely using the \u003ccode\u003enosnippet\u003c/code\u003e rule or experiment with \u003ccode\u003emax-snippet\u003c/code\u003e to reduce their likelihood.\u003c/p\u003e\n"],["\u003cp\u003eThere's no guaranteed method to force a page to become a featured snippet as Google's systems automatically determine their suitability.\u003c/p\u003e\n"],["\u003cp\u003eClicking a featured snippet typically takes users directly to the relevant section of the linked page.\u003c/p\u003e\n"]]],["Featured snippets display the descriptive snippet first in search results. To opt out, use the `nosnippet` rule to block all snippets or the `max-snippet` rule to reduce the likelihood of appearing in featured snippets, but with no guarantee. `nosnippet` takes priority over `data-nosnippet`. Google determines which pages are elevated to featured snippets. Clicking a featured snippet navigates users directly to the relevant section of the page, if technically possible.\n"],null,["# Featured Snippets and Your Website | Google Search Central\n\nFeatured snippets and your website\n==================================\n\nFeatured snippets are special boxes where the format of a regular search result is reversed, showing\nthe descriptive [snippet](/search/docs/appearance/snippet)\nfirst. They can also appear within a [related questions group](/search/docs/appearance/visual-elements-gallery#related-questions-group) (also known as \"People Also Ask\").\n[Read more about how Google's Featured Snippets work.](https://support.google.com/websearch/answer/9351707)\nAn illustration of a featured snippet in search results 7-10 minutes\n[How to make a hard-boiled egg](https://wikipedia.org/wiki/Boiled_egg)\n\nHow can I opt out of featured snippets?\n---------------------------------------\n\nThere are two ways that you can opt out of featured snippets:\n\n- [Block both featured and regular search snippets](#block-both)\n- [Block featured snippets only](#block-fs)\n\n### Block all snippets\n\nTo block all snippets (including featured snippets and regular snippets) from appearing for\na given page, add the [`nosnippet` rule](/search/docs/crawling-indexing/robots-meta-tag#nosnippet)\nto that page.\n\n- Text marked by the [`data-nosnippet` HTML attribute](/search/docs/crawling-indexing/robots-meta-tag#data-nosnippet-attr) won't appear in featured snippets or regular snippets either.\n- If both `nosnippet` and `data-nosnippet` rules appear in a page, `nosnippet` takes priority, and snippets won't be shown for the page.\n\n### Block featured snippets only\n\nIf you want to retain snippets in regularly-formatted search results, but you don't want to appear in\nfeatured snippets, experiment with setting the\n[`max-snippet` rule](/search/docs/crawling-indexing/robots-meta-tag#max-snippet)\nto lower lengths. Featured snippets will only appear if enough text can be shown to generate a\nuseful featured snippet.\n\nKeep lowering the value if pages continue to show for featured snippets. In general, the\nshorter your `max-snippet` rule setting, the less likely the page\nwill appear as a featured snippet.\n\nGoogle does not provide an exact minimum length required to appear as a featured snippet.\nThis is because the minimum length is variable based on a number of factors, including---but not\nlimited to---the information in the snippet, the language, and the platform (mobile device, app,\nor desktop). \nUsing a low `max-snippet` setting doesn't guarantee that Google will stop showing featured snippets for your page. If you need a guaranteed solution, use the `nosnippet` rule.\n\nHow can I mark my page as a featured snippet?\n---------------------------------------------\n\nYou can't. Google systems determine whether a page would make a good featured snippet for a\nuser's search request, and if so, elevates it.\n\nWhat happens when a user clicks a featured snippet?\n---------------------------------------------------\n\nClicking a featured snippet takes the user directly to the section of the page that appeared\nin the featured snippet. Scrolling to the position that appeared in the snippet happens\nautomatically, without any additional annotation by the site. If a browser doesn't support the\nunderlying technology needed, or if our systems can't confidently determine exactly where\nwithin a page to direct a click, clicking a featured snippet will take a user to the top of\nthe source web page."]]