[uf-discuss] An Inconvenient hCard

Ryan King ryan at technorati.com
Wed Mar 21 08:56:51 PST 2007


On Mar 20, 2007, at 2:34 AM, Paul Wilkins wrote:

> Ryan King wrote:
> > On Mar 11, 2007, at 6:06 PM, Ara Pehlivanian wrote:
> >
> >> I've got a bit of a problem with an hCard that I need to mark up  
> and
> >> I was wondering if anyone could lend me a hand.
> >
> > Type is not required.
>
> Thanks for the reality check Ryan.
>
> With you knowledge and experience of microformats, do you have some  
> advice for Ara on how to to markup the following example so that  
> the appropriate fax numbers can be given the appropriate type as a  
> fax number?
>
> Tél.: (514) 123-4567
> Téléc.: (514) 123-4568

Assuming 'Téléc' means something like 'fax', I'd do it like this:


<span class="tel">Tél.: <span class="value">(514) 123-4567</span></span>
<span class="tel"><abbr class="type" title="fax">Téléc.</abbr>: <span  
class="value">(514) 123-4568</span></span>

-ryan
--
Ryan King
ryan at technorati.com






More information about the microformats-discuss mailing list