I’m new to Microdata and have a problem with itemscope
within a table
.
For example assume I‘ve got a person object and in the table I’m sho
There are only rather ugly solutions for this.
You could use the itemref
attribute for the country, but you’d have to add a dummy untyped itemscope
so that the addressCountry
property doesn’t get added to the Person
item:
Name
123 main
USA
You could use itemref
for almost anything, so that you don’t have to add a dummy itemscope
, but the markup gets more complex, and you have to "outsource" the Person
item:
Name
123 main
USA
Or still have Person
in the table
by adding it to the first td
:
Name
123 main
USA