Implementing Multiple Itemprop Elements in a Single Span
-
Hi All,
I'm trying to figure out whether or not my developer is properly implementing Itemprop elements in code. Here is an example of where my confusion lies:
"If you're taking an itemprop=" name drugClass" itemtype="http://schema.org/DrugClass">antiepileptic drug"
When the span opens both recommended itemprops "name" and "drugclass" are listed together. Does this allow both to be properly read or is it effectively creating an itemprop that does not exist?
Thanks!
-
-
Hi again
This is definitely not correct...
_span itemprop=" name drugClass" _
It should read...
<span < span="">itemscope itemtype="http://schema.org/DrugClass">
Here is the DrugClass example.
But please, also use the testing tools above!</span <>
-
Probably a better alternative would be:
antiepileptic drug
-
Thanks guys.
The website is still on a dev server, so I can't use the testing tool, but I will absolutely add that to my list of go-to's.