Add data-nosnippet html attribute to a DIV contains text
Dear community members,
My AEM site has a content section that is wrapped within a master Div class. To tell Google not to use textual parts of an HTML page as a snippet showing on SERP. The site's textual parts are wrapped within a master div class (<div class="content box section">)
Google Documentation: https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#data-nosnippet-attr
It would be a great help if, anyone here guide me on how it is possible to add HTML attributes within a DIV class.
Happy New Year in advance.
Thanks,
Saday Kumar