HTML reference

itemtype

The itemtype attribute identifies the vocabulary type of a Microdata item, such as an Article, Product, or Person.

What you will learn

  • What type itemtype communicates
  • Why it is paired with itemscope
  • How to choose a vocabulary URL carefully

Basic example

<article itemscope itemtype="https://schema.org/Article">
  <h1 itemprop="headline">A guide to the Web</h1>
</article>

itemscope declares the item boundary, while itemtype says what kind of item it is. Properties inside the item use itemprop.

Choose the type from its vocabulary

The value is normally an absolute URL for a vocabulary definition, such as Schema.org. Use a documented type and property combination; do not choose a type merely because its name sounds close.

Keep the data truthful

Structured data should describe content that is actually present and meaningful on the page. It is not a shortcut for adding invisible keywords or guaranteeing a rich search result.

Related pages