本文翻译自:href=“tel:” and mobile numbers

If I use tel: I should write the international phone code, like that. 如果我使用tel:我应该这样写国际电话代码。

<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. 到目前为止,还算不错,但是如果有的话,我找不到有关如何以“国际”方式写手机号码的信息。


#1楼

参考:https://stackoom.com/question/1AFcu/href-tel-和手机号码


#2楼

I know the OP is asking about international country codes but for North America, you could use the following: 我知道OP正在询问国际国家/地区代码,但对于北美,您可以使用以下代码:

 <a href="tel:1-847-555-5555">1-847-555-5555</a> <a href="tel:18475555555">Click Here To Call Support 1-847-555-5555</a> 

This might help you. 这可能对您有帮助。


#3楼

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 prefix2 - 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 prefix4 -      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 number61 -      Country code for Australia4 -      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. 这就是为什么您经常发现在拨打国际电话时,即使使用国际前缀在同一国家/地区内拨打电话时,电话号码的第一位数字也被丢弃的原因。

So as per the trunk prefix for Germany drop the 0 and add the +49 for Germany's international calling code (for example) giving: 因此,按照德国的中继线前缀,将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> 

#4楼

The BlackBerry browser and Safari for iOS (iPhone/iPod/iPad) automatically detect phone numbers and email addresses and convert them to links. BlackBerry浏览器和iOS版Safari(iPhone / iPod / iPad)会自动检测电话号码和电子邮件地址,并将它们转换为链接。 If you don't want this feature, you should use the following meta tags. 如果您不希望使用此功能,则应使用以下元标记。

For Safari: 对于Safari:

<meta name="format-detection" content="telephone=no">

For BlackBerry: 对于BlackBerry:

<meta http-equiv="x-rim-auto-match" content="none">

Source: mobilexweb.com 资料来源: mobilexweb.com


#5楼

It's the same. 一样的。 Your international format is already correct, and is recommended for use in all cases, where possible. 您的国际格式已经正确,建议尽可能在所有情况下使用。


#6楼

As an additional note, you may also add markup language for pausing or waiting, I learned this from the iPhone iOS which allows numbers to be stored with extension numbers in the same line. 另外,您还可以添加标记语言以暂停或等待,这是我从iPhone iOS中学到的,它允许数字与分机号存储在同一行中。 A semi-colon establishes a wait , which will show as a next step upon calling the number. 分号建立一个wait ,它将在呼叫该号码时显示为下一步。 This helps to simplify the workflow of calling numbers with extensions in their board. 这有助于简化在其分机板中拨打电话的工作流程。 You press the button shown on the bottom left of the iPhone screen when prompted, and the iPhone will dial it automatically. 出现提示时,按iPhone屏幕左下方显示的按钮,iPhone会自动拨号。

<a href="tel:+50225079227;1">Call Now</a>

The pause is entered with a comma ",", allowing a short pause of time for each comma. 暂停用逗号“,”输入,每个逗号的暂停时间很短。 Once the time has passed, the number after the comma will be dialed automatically 时间过后,逗号后的号码将自动拨打

<a href="tel:+50225079227,1">Call Now, you will be automaticlaly transferred</a>

href =“ tel:”和手机号码相关推荐

  1. 在vue.js中实现a标签href tel的打电话功能

    在vue.js中实现a标签href tel的打电话功能 div v-for="p in persons"> <p> name: {{ p.name }} < ...

  2. 安卓版微信内置浏览器,a href=tel:电话号码/a 这个链接失效,跳到拨号界面

    转自:http://segmentfault.com/q/1010000000318831 安卓版微信内置浏览器,<a href="tel:电话号码"></a&g ...

  3. html tel://协议,html – href =“tel:”和手机号码

    拨打您所在国家/地区的号码时,您仍需要拨打 national trunk number,然后再拨打其余号码.例如,在澳大利亚,将拨打: 0 - trunk prefix 2 - Area code f ...

  4. 安卓版微信内置浏览器,a href=tel:电话号码/a 这个链接失效,不能跳到拨号界面?...

    https://segmentfault.com/q/1010000000318831 在URL最后面加" #mp.weixin.qq.com ",应该加其他qq.com的二级域名 ...

  5. html5 的a标签是可以拨电话的,通过其Href属性来实现

    <a href="tel:18700000000">点击给我打电话吧!</a> 注: 1.<a href="tel:18750000000& ...

  6. 手机网站点击手机号码直接拨号

    手机访问网站,点击手机号码直接拨打电话: < a href="tel://158xxxxxxxx">号码< /a> 这种方式塞班.安卓与iphone都支持. ...

  7. 手机访问网站 点击手机号码直接拨打电话

    手机访问网站,点击手机号码直接拨打电话: < a href="tel://158xxxxxxxx">号码< /a> 这种方式塞班.安卓与iphone都支持. ...

  8. 点击网页上的手机号码直接拨打电话

    今天写了一个html5的页面,使用bootstrap了目的是为了实现,一个页面同时适应手机.平板.和电脑不同分辨率的屏幕.在这个页面上有这么一个功能,点击网页上显示的手机号码直接拨打电话.功能很简单实 ...

  9. 手机访问网站,点击手机号码直接拨打电话

    手机访问网站,点击手机号码直接拨打电话: < a href="tel://158xxxxxxxx">号码< /a> 这种方式塞班.安卓与iphone都支持. ...

最新文章

  1. tableau技术小积累
  2. Linux下查看在线用户及用户进程
  3. ES6-let const
  4. python语言if语句-Python中的if判断语句入门
  5. jackson 驼峰注解_jackson - jackson annotations注解详解
  6. 【转】一、用于VS2019的QT配置
  7. 制作了一个WMI 查询分析工具
  8. SAP License:财务与会计的区别
  9. 基于HTTP的QQ协议(转)
  10. Android View的工作流程(一) 理解MeasureSpec
  11. AlphaControls 控件 锐浪报表 Grid++Report 打印浏览显示问题解决
  12. 2022 年 React Native 的全新架构更新
  13. ARCGIS近邻分析应用详解
  14. python面向对象_05(面向对象封装案例 II)
  15. 基于springboot小型命题系统毕业设计源码011508
  16. how to upload directory to github(怎么把文件目录上传到github)
  17. 排序函数sort()
  18. 计算机不显示固态硬盘,新装的固态硬盘不显示怎么办?
  19. php-fpm status,使用php-fpm状态页观察当前的php-fpm状态
  20. Windows下VMware准备IOS开发环境

热门文章

  1. iOS开发UI篇—Quartz2D使用(信纸条纹)
  2. mysql 从第几个字符串开始截取_Mysql 字符串截取
  3. 用深度学习算法预测未来股票走势
  4. IDEA Live Lemplates
  5. Vue3快速入门教程
  6. ntpdate 时间服务
  7. 10《区块链财富指北》DAPP篇(2):从钱包上调用合约发行通证(Token)。
  8. iOS11 UIScrollView 偏移量问题
  9. Flink大数据实时计算系列-kafka的sink使用方法
  10. linux重启java项目