Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
236 views
in Technique[技术] by (71.8m points)

google chrome - ''data-nosnippet'' HTML attribute

Google say that: "Independently of page-level meta-tags, you can designate parts of an HTML page not to be used in snippets. This can be done with the data-nosnippet HTML attribute on span, div, or section HTML elements."
Link: https://developers.google.com/search/docs/advanced/crawling/special-tags#data-nosnippet
But will it work if i use this data-nosnippet attribute for div but in which I have the <a> and <b> tags in which the text is located. Will this text be indexed?

question from:https://stackoverflow.com/questions/65843197/data-nosnippet-html-attribute

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...