如果我使用tel:
,我应该写上国际电话代码,像这样。
<a href="tel:+6494461709">61709</a>
到目前为止,还不错,但我找不到关于如何以"国际"方式书写手机号码的信息,如果有的话。
当在你所在的国家拨打一个号码时,你仍然需要在号码的其余部分之前拨打国家主干号码。例如,在澳大利亚,人们会拨打。
0 - trunk prefix
2 - Area code for New South Wales
6555 - STD code for a specific telephone exchange
1234 - Telephone Exchange specific extension.
对于移动电话来说,这就变成了
0 - trunk prefix
4 - Area code for a mobile telephone
1234 5678 - Mobile telephone number
现在,当我想通过国际中继线拨号时,你需要去掉中继线前缀,用国际拨号前缀代替。
+ - Short hand for the country trunk number
61 - Country code for Australia
4 - Area code for a mobile telephone
1234 5678 - Mobile telephone number
这就是为什么你经常发现在拨打国际电话时,电话号码的第一个数字会被丢掉,即使在同一国家内使用国际前缀拨打也是如此。
因此,按照德国的主干线前缀去掉 "0",加上 "+49 "为德国的国际电话代码(例如)给予。
<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>
补充一点,你还可以添加暂停或等待的标记语言,我是从iPhone的iOS系统中学到的,它允许号码与分机号码存储在同一行。 分号建立了一个等待,在呼叫号码时将显示为下一步。 这有助于简化呼叫号码与其板块中的分机号的工作流程。 你在提示时按iPhone屏幕左下角所示的按钮,iPhone会自动拨打。
<a href="tel:+50225079227;1">Call Now</a>
在输入暂停时,用逗号",",允许每个逗号有短暂的时间暂停。 时间一过,就会自动拨出逗号后的号码。
<a href="tel:+50225079227,1">Call Now, you will be automaticlaly transferred</a>