Global Attributes

HTML itemid attribute

Assigns a global identifier to an eligible microdata item. Use with itemscope and an itemtype that supports global identifiers. Applicability: global HTML attribute, subject to element-specific restrictions and browser support.

Formal Syntax & Structure

html syntaxhtml
itemid="https://example.com/books/1"

Parameters & Attributes

NameTypeDescription
itemidURLAssigns a global identifier to an eligible microdata item. Use with itemscope and an itemtype that supports global identifiers.

Working Example

Example Snippethtml
<div itemscope itemtype="https://schema.org/Book" itemid="https://example.com/books/1">  <span itemprop="name">Web notes</span></div>
HTML Reference