[whatwg] Annotating structured data that HTML has no semantics for
Simon Pieters
simonp at opera.com
Mon May 11 00:32:38 PDT 2009
On Sun, 10 May 2009 12:32:34 +0200, Ian Hickson <ian at hixie.ch> wrote:
> Page 3:
> <h2>My Cats<h2>
> <dl>
> <dt>Schrödinger
> <dd item="com.damowmow.cat">
> <meta property="com.damowmow.name" content="Schrödinger">
> <meta property="com.damowmow.age" content="9">
> <p property="com.damowmow.desc">Orange male.
> <dt>Erwin
> <dd item="com.damowmow.cat">
> <meta property="com.damowmow.name" content="Lord Erwin">
> <meta property="com.damowmow.age" content="3">
> <p property="com.damowmow.desc">Siamese color-point.
> <img property="com.damowmow.img" alt="" src="/images/erwin.jpeg">
> </dl>
Given the microdata solution and this example, there is now a reason other than styling to introduce <di>, since here you duplicate the <dt> information in <meta>.
<dl>
<di item="com.damowmow.cat">
<dt property="com.damowmow.name">Schrödinger
<dd>
<meta property="com.damowmow.age" content="9">
<p property="com.damowmow.desc">Orange male.
</di>
...
The styling problem is discussed at http://forums.whatwg.org/viewtopic.php?t=47
--
Simon Pieters
Opera Software
More information about the whatwg
mailing list