[uf-discuss] hCard: url and tel

Andy Mabbett andy at pigsonthewing.org.uk
Mon Jan 7 11:52:58 PST 2008


In message <F77EFF3F-DCCC-429A-8A36-20A8F1D60915 at theryanking.com>, ryan
<ryan at theryanking.com> writes

>On Jan 6, 2008, at 12:30 PM, Andy Mabbett wrote:
>> 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.
>
>I don't think we want to do this, because it puts human-readable data
>("work") in a spot that's no longer visible.

Except that, as the OP stated, that it's a work number is clear from the
context.

In any case, how is that different from:

        <abbr class="dtstart" title="2008-01-07">7 Jan</abbr>

where "2008" is "hidden"?

-- 
Andy Mabbett


More information about the microformats-discuss mailing list