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

Jonas Sicking jonas at sicking.cc
Thu May 14 17:10:33 PDT 2009


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



More information about the whatwg mailing list