Global Attributes
HTML itemprop attribute
Adds properties to a microdata item. The value comes from element-specific rules, such as text content, href or content. Applicability: global HTML attribute, subject to element-specific restrictions and browser support.
Formal Syntax & Structure
html syntaxhtml
itemprop="name"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| itemprop | space-separated property names | Adds properties to a microdata item. The value comes from element-specific rules, such as text content, href or content. |
Working Example
Example Snippethtml
<div itemscope itemtype="https://schema.org/Book"> <span itemprop="name">Web notes</span></div>