Global Attributes
HTML itemscope attribute
Creates a microdata item that can contain named properties. itemtype may specify a vocabulary; itemscope alone does not assign a type. Applicability: global HTML attribute, subject to element-specific restrictions and browser support. Boolean syntax: presence enables the state; omit the attribute to disable it. A string value of "false" does not turn it off.
Formal Syntax & Structure
html syntaxhtml
itemscopeParameters & Attributes
| Name | Type | Description |
|---|---|---|
| itemscope | boolean | Creates a microdata item that can contain named properties. itemtype may specify a vocabulary; itemscope alone does not assign a type. |
Working Example
Example Snippethtml
<div itemscope> <span itemprop="name">Notebook</span></div>