Re: itemscope issue

On 16 February 2016 at 18:03, Shujia Liu <> wrote:
> Hi,
> I was learning how to use to mark up my webpage. And I find
> something interesting that why we need "itemscope" since we have "itemtype".
> I mean, each "itemscope" label is followed by an "itemtype" label. Can I
> just ignore the "itemscope" label.

When using Microdata syntax (itemscope itemtype itemprop etc), it is
best to follow the Microdata rules fully, and include the "itemscope"
attribute even if it seems useless.

A few years ago there were some big debates about whether to use
Microdata or the related earlier standard, RDFa. RDFa doesn't have a
direct equivalent to itemscope. In recent years we have tried to
include both Microdata and RDFa examples on the site, as
well as examples written in JSON-LD.


Received on Friday, 19 February 2016 14:10:02 UTC