HREF ="电话:"和手机号码 [英] href="tel:" and mobile numbers

查看:218
本文介绍了HREF ="电话:"和手机号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用 tel:,我应该这样写国际电话代码。

If I use tel: I should write the international phone code, like that.

<a href="tel:+6494461709">61709</a>

到目前为止,这么好,但我找不到关于如何编写手机号码的信息以国际方式,如果有的话。

So far, so good, but I can't find information on how to write a cell phone number in an "international" way, if there is one.

推荐答案

在你所在的国家拨号时,需要先拨打国家中继号码,然后再拨打其余的号码。例如,在澳大利亚,可拨打以下号码:

When dialing a number within the country you are in, you still need to dial the national trunk number before the rest of the number. For example, in Australia one would dial:

   0 - trunk prefix
   2 - Area code for New South Wales
6555 - STD code for a specific telephone exchange
1234 - Telephone Exchange specific extension.

对于手机来说,这变成了

For a mobile phone this becomes

   0 -      trunk prefix
   4 -      Area code for a mobile telephone
1234 5678 - Mobile telephone number

现在,当我想通过国际中继线拨号时,您需要删除中继线前缀并将其替换为国际拨号前缀

Now, when I want to dial via the international trunk, you need to drop the trunk prefix and replace it with the international dialing prefix

   + -      Short hand for the country trunk number
  61 -      Country code for Australia
   4 -      Area code for a mobile telephone
1234 5678 - Mobile telephone number

这就是为什么您经常发现在拨打国际电话时电话号码的第一位数字会丢失,即使使用国际前缀在同一国家内拨号也是如此。

This is why you often find that the first digit of a telephone number is dropped when dialling internationally, even when using international prefixing to dial within the same country.

因此,根据中继前缀为德国放置 0 并为 +49 en.wikipedia.org/wiki/List_of_country_calling_codes\">德国国际电话代码(例如)给出:

So as per the trunk prefix for Germany drop the 0 and add the +49 for Germany's international calling code (for example) giving:

<a href="tel:+496170961709" class="Blondie">
    Call me, call me any, anytime
      <b>Call me (call me) I'll arrive</b>
        When you're ready we can share the wine!
</a> 

这篇关于HREF =&QUOT;电话:&QUOT;和手机号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆