HTML中schema.org SiteNavigationElement的正确用法是什么?
schema.orgSiteNavigationElement 扩展了WebPageElement。它用于标记链接,这些链接将构成惊人的上下文链接。
<nav role = "navigation" itemscope itemtype = "http://schema.org/SiteNavigationElement">
<ul>
<li>
<a href = "https://example.com/" title = "Link to home page" itemprop = "url">
<span itemprop="name">Home page</span>
</a>
</li>
<li>
<a href = "https://examplecom/demo" title="Link to demo page" itemprop = "url">
<span itemprop = "name">My demo page</span>
</a>
</li>
</ul>