Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Structured data for “carousel” snippet in Google Search: is it necessary to make "ItemList" the root element?

I make a structured data of the category page on which the list of articles is displayed. It is necessary that when searching in Google this list is displayed as a "carousel".

https://developers.google.com/search/docs/guides/mark-up-listings - here is the documentation for marking the "carousel" with screenshots.

Is it necessary to make ItemList the root element in the markup structure?

Can an ItemList be made a child of a CollectionPage element? That is, as follows:

<body itemscope itemtype="http://schema.org/CollectionPage">
  <div itemprop="mainEntity" itemscope itemtype="http://schema.org/ItemList http://schema.org/CreativeWork">
  ...

Will the Google search engine understand the “CollectionPage > ItemList (mainEntity)” structure as a correct structure for the carousel?

like image 504
Кроко Дил Avatar asked Jan 01 '26 22:01

Кроко Дил


1 Answers

as a @unor says - the easiest way is to test this structure in Testing Tool: https://search.google.com/structured-data/testing-tool.

Your code has 0 ERRORS 0 WARNINGS

like image 181
Steve Avatar answered Jan 06 '26 10:01

Steve



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!