1. Settings <meta> Tags
<meta name= "format-detection" content= "Telephone=no" >
When the HTML page is browsed on the phone, the label is used to specify whether to display the phone number in the page content as a dial-up hyperlink.
The default value on the IPhone is:
<meta name= "format-detection" content= "Telephone=yes"/>
If you don't want your phone to automatically display the phone number in your page as a dial-up hyperlink, you can write:
<meta name= "format-detection" content= "Telephone=no"/>
2. Make a phone call
The most commonly used Web page JS implementation of one-touch dialing phone calls function:
<a href= "tel:10086" > Mobile Web Page JS One-click Call Number Consulting function </a>
On the dial-up interface, display the number and prompt to dial.
3. Send SMS
<a href= "sms:10086" > Mobile Web page JS One click send SMS Advisory Function </a>
In the information entry interface, display the sending number, and prompt input information.
4. Make a call using the Wtai protocol.
The code looks like this:
Instance:
<a href= "wtai://wp//mc;10086" > Call 10086 </a>
<a href= "wtai://wp/ap;10086;" > Save 10086 to the phone book </a>
It is recommended that this approach be used.
Mobile phone calls and SMS tips