Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microdata: How to indicate multiple awards in the UL tag?

Tags:

microdata

I wonder if we can repeat the same itemprop in the same itemtype, e.g.:

<ul itemscope itemtype="http://schema.org/Person">
   <li itemprop="award">Award 1</li>
   <li itemprop="award">Award 2</li>
   <li itemprop="award">Award 3</li>
</ul>

Is this a right way to specify awards using Microdata? How about the use of the itemprop awards instead? Thanks in advance!

like image 689
Antonio Avatar asked Oct 22 '25 21:10

Antonio


1 Answers

It's fine as you wrote it, multiple values are allowed in microdata.

I find this handy to test this kind of stuff. It extracts all the awards from your snippets, so it's good!

As you can see in the schema.org documentation, awards is a legacy spelling and should no longer be used.

Update: Oh and welcome to StackOverflow by the way :-)

like image 76
cygri Avatar answered Oct 27 '25 03:10

cygri



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!