Schema coding
-
Hi,
I was wondering if you may know if you have to keep to the
and coding when adding schema code to the site. For example if I'm already using H and P tags can I add the "itemprop" to those or do they have to be in aor as in the example below:
<span itemprop="name">Kenmore White 17" Microwavespan>
Product description:
<span itemprop="description">0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.span>So could I code it like this?
<h1 itemprop="name">Kenmore White 17" Microwaveh1>
Product description:
<p itemprop="description">0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.p>Thank you,
Etela -
You can use the H1 tags, I have done so and passed Google rich snippets tool.
-
That is great. Thank you Alan.