[uf-discuss] hCard: url and tel

Andy Mabbett andy at pigsonthewing.org.uk
Sun Jan 6 12:30:10 PST 2008


In message <47804C38.1040101 at t-tec.com.au>, Katrina <Kaz at t-tec.com.au>
writes

>I want to specify a work-related telephone number, but I just want to
>label it 'Phone:'. The closest I can find to do this is the abbr,
>however, work is not an abbreviation of 'phone'.
>
>eg. <abbr class="type" title="work">Phone</abbr>
>
>Q2. Would it be possible to do something like this, instead?
><span class="type" title="work">Phone</span>


We could - if there is sufficient support - adapt the recently-proposed
"sub-microformat" pattern, so that:

        <foo class="tel-work">5555555</a>

becomes parsed as a "work-type" 'phone number.


Alternatively (or additionally) we could adopt the previously suggested
"data-title" pattern:

        <span class="type" title="data: work">Phone</span>

-- 
Andy Mabbett


More information about the microformats-discuss mailing list