[Schema.org] Micro-markup menu items

  • (2 votes)
  • Written by 
  • Sunday, 29 October 2023 17:32

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> 

 

344 Read

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.