About This HTML Issue
The itemprop attribute cannot be an empty string — it must contain a valid property name when present.
The itemprop attribute is part of the HTML Microdata specification and is used to assign a property name to an element within an itemscope. When a search engine or parser encounters itemprop, it expects a meaningful token that identifies the type of data being described, such as "name", "description", or "url".
If you don’t need to mark up the element with microdata, simply remove the itemprop attribute entirely. If you do need it, provide a valid property name that matches the vocabulary you’re using (e.g., Schema.org).
HTML Examples
❌ Invalid: empty itemprop
<div itemscope itemtype="https://schema.org/Product">
<div itemprop="">This causes a validation error</div>
</div>
✅ Fix: provide a valid property name or remove the attribute
<div itemscope itemtype="https://schema.org/Product">
<div itemprop="description">A great product</div>
</div>
Or, if microdata is not needed:
<div>
<div>No microdata needed here</div>
</div>
Find issues like this automatically
Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.