On 13 Jul 2006, at 10:15, Frances Berriman wrote:
Can someone take a
quick look, and let me know if this is the correct way to mark-up a UK
company address? I checked myself against a few implementations in
the
wild, and the problem continues to elude me (if there is one). :
On the whole it looks fine, Frances. Just one minor problem
(shouldn't affect a parser finding the hCard though):
<div class="tel">
<span class="work">
<span
class="value">+44(0)1344865555</span></span>
<span class="fax">
<span class="value">+44(0)1344
865555</span></span>
</div>
The 'work' and 'fax' are actually values for the 'type' property, not
properties in themselves.
So you should have something more like:
<div class="tel">
<span class="type">Fax:</span> <span class="value">+44(0)1344 865555</
span>
</div>
There are more examples of how this works here:
http://microformats.org/wiki/hcard#type_subproperty_values
drew.
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss