[whatwg] multiple itemtypes in microdata?

Ian Hickson ian at hixie.ch
Tue Jun 28 12:36:25 PDT 2011


On Tue, 28 Jun 2011, Lin Clark wrote:
> On Tue, Jun 28, 2011 at 6:53 PM, Ian Hickson <ian at hixie.ch> wrote:
> >
> >
> >   <div itemscope itemtype="http://example.com/">
> >     <meta itemprop="kind" content="A B">
> >     ...
> >   </div>
> 
> 
> Would it make sense to use something like vocab here?
> 
>     <div itemscope vocab="http://example.com/" itemtype="A B http://C">
>         ...
>     </div>

The vocab="" attribute in this example is what itemtype="" is in the spec.

What is itemtype="" in this example? (How is it different from a 
property?)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list