W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Annotating structured data that HTML has no semantics for

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 14 May 2009 17:10:33 -0700
Message-ID: <63df84f0905141710u11d5bfedl91cd9fd60085d9c2@mail.gmail.com>
On Thu, May 14, 2009 at 5:00 PM, Jonas Sicking <jonas at sicking.cc> wrote:
> * Support for specifying a machine-readable value, such as for dates,
> colors, numbers, etc.
> * Support for tabular data.
>
> Especially the former is very interesting to me. I even wonder it
> would allow replacing the <time> element with a standardized
> microformat, such as:
>
> Christmas is going down on <span item="w3c.time"
> itemvalue="12-25-2009">The 25th day of December<span>!
>
> (Though I'd probably avoid prefixes for 'standardized' item names).

Hmm.. I guess the syntax would be

<span item itemprop=w3c.time propvalue="12-25-2009">

Not very nice I admit.

/ Jonas
Received on Thursday, 14 May 2009 17:10:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:49 UTC