W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

[whatwg] multiple itemtypes in microdata?

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 28 Jun 2011 19:36:25 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1106281922140.20871@ps20323.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 28 June 2011 12:36:25 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:34 UTC