Sunday, 29 October 2017 17:32

[Schema.org] Micro-markup menu items

Many of us are very familiar with micro-markup and know firsthand what schema.org is. But I would like to note that not many people use this format to mark the navigation menu of the site. Here is an example of marking menu items in the schema.org format:

<ul itemscope itemtype="http://www.schema.org/SiteNavigationElement">
	<li itemprop="name">
		<a itemprop="url" href="#">Link</a>
	</li>
	<li itemprop="name">
		<a itemprop="url" href="#">Link</a>
	</li>
	<li itemprop="name">
		<a itemprop="url" href="#">Link</a>
	</li>
</ul>