[uf-discuss] Question about telephone numbers

Ryan King ryan at technorati.com
Tue Jun 26 10:25:19 PDT 2007

On Jun 25, 2007, at 5:10 AM, Rickards, Julian (NDM) wrote:

> The current format forces us to include "voice" or "fax" in text  
> rather
> than in the attributes. In my original case, I didn't want to include
> the word "voice" in the text because in the contacts page I was/am
> creating, all of the numbers were voice numbers (all of the people in
> the contacts page share a single fax number so I didn't need to  
> specify
> a fax number for each and use "fax" and "voice" to distinguish them  
> for
> each person).

"voice" is a default type. You can leave it out.

> The other problem I will encounter is the fact that because my efforts
> are on our government web pages (in Ontario, Canada, all government
> pages must be in both English and French), I must use the French
> equivalent to "voice" and "fax" in the text which means that the
> microformat will be broken. However, if "voice" and "fax" were  
> accepted
> as attribute values, then I don't need to worry about the text in the
> page because the attribute value would be used instead of the text.

You can put the type values in the title attribute of abbr elements  
in this case.


More information about the microformats-discuss mailing list