Answer the question
In order to leave comments, you need to log in
Why is content not valid in a div?
Hello, please tell me why the validator shows errors in this markup?
Error: Attribute content not allowed on element div at this point.
From line 981, column 142; to line 981, column 177
<div class="lprice1" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
<span itemprop="priceCurrency" content="RUB"></span>
<div itemprop="price" content="0"></div>Цена не указана</div>
Answer the question
In order to leave comments, you need to log in
Should be like this:
<script type='application/ld+json'>
{
"@context": "http://schema.org/",
"@type": "Offer",
"price": "2000",
"priceCurrency": "RUB"
}
</script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question