measure-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(first brainstorm)
 
Line 1: Line 1:
= Measure Microformat Brainstorming =
= Measure Microformat Brainstorming =
This page collects ideas on how to use semantic XHTML to represent unambiguously measures.


== Guillaume Lebleu ==
== Guillaume Lebleu ==

Revision as of 01:47, 3 October 2006

Measure Microformat Brainstorming

This page collects ideas on how to use semantic XHTML to represent unambiguously measures.

Guillaume Lebleu

Basic example with elementary unit using the abbr pattern and the UNECE code (see measure-formats)

<span class="length">5 <abbr class="unit" title="FOT">Feet</abbr></span>

Optional "value" could be useful in some cases, for instance when the value is provided in plain text:

<span class="length"><span class="value" title="5">Five</span> <abbr class="unit" title="FOT">Feet</abbr></span>