What is the correct use of schema.org SiteNavigationElement?

后端 未结 10 1835
既然无缘
既然无缘 2020-11-30 02:27

In SEO terms...

Is it best to put the scheme on the parent containing all the links?

10条回答
  •  野性不改
    2020-11-30 02:56

    Consider the following code snippet adapted from the page source of habd.as:

    
    
    

    When there are multiple navigations as shown above, use of SiteNavigationElement to group navigation items affords the use of name such that the grouping itself may be labeled. Labels for individual items within the groups can be obtained using the content of the links themselves.

    Therefore, your first example is more correct despite assertions to the contrary.

提交回复
热议问题