Multiple values in itemprop (schema.org)

JonoHarris.

New Member
I'm adding my first set of rich snippets to my website. I'm using the information found on Schema.org siteNavigationElement as a guide. More specifically, I'm using the example referenced in the answer here.My current navigation structure is as follows:\[code\]<!-- Navigation node without dropdown --><li id="navHome" class="hoverAnimationBackground navigationNodeActive"><a href="http://stackoverflow.com/">Home</a></li><!-- Navigation node with dropdown --><li id="navGive" class="hoverAnimationBackground"> <a href="http://stackoverflow.com/give" id="aGive">Give</a> <ul> <li class="hoverAnimationBackground"><a href="http://stackoverflow.com/give/missionary">GIVE TO A MISSIONARY</a></li> <li class="hoverAnimationBackground"><a href="http://stackoverflow.com/give/projects">GIVE TO A PROJECT</a></li> <li class="hoverAnimationBackground"><a href="http://stackoverflow.com/give/express-give">EXPRESS GIVE</a></li> </ul></li>\[/code\]As you can see, the anchor tags contain both the item URL and the item name. Is it possible to set the itemprop like this:\[code\]<a href="http://stackoverflow.com/give" id="aGive" itemprop="url name">Give</a>\[/code\]What the right way to do this?
 
Back
Top