[uf-discuss] Spliting the Address of Vcard

Andy Mabbett andy at pigsonthewing.org.uk
Wed Aug 22 07:59:48 PDT 2007

On Wed, August 22, 2007 15:47, Tom Byers wrote:
> Hi, I'm trying to mark-up some addresses I have on a web-page with the
> hcard but it is proving difficult due to the order of the address elements.
> What I have is something that looks like this on screen:
> Glasgow 01889 667 542
> 27 church road G12 3HH
> More tags can be added but the problem is that the telephone number is
> in the middle of address elements - this part of the mark-up cannot be
> changed.

That's not a problem:

<span class="vcard">
<span class="adr">
<span class="locality">Glasgow</span> <span class="tel">01889 667 542</span>
<span class="street-address">27 church road</span> <span
class="postal-code">G12 3HH</span>

should work fine.

Andy Mabbett
** via webmail **

More information about the microformats-discuss mailing list