Css3 allows you to call (send text messages) directly on a mobile page)

Source: Internet
Author: User

Recently, a friend wants to call a phone number on a mobile page. I checked the relevant information and tried every statement, only the label is the most convenient and compatible method.

Call on the mobile page

The code is as follows: Copy code

<A href = "tel: 18511178920">

Send text messages to the audience </a>

The code is as follows: Copy code

<A href = "sms: 18511178920">

This method is the best, compatible with mobile safari, chrome, uc, qq Browser, Dolphin Browser, etc.
It is not recommended to use other methods, mainly because the compatibility is too poor and can be listed for reference.

1. Mobile web page automatically detects phone numbers

The code is as follows: Copy code

<Meta name = "format-detection" content = "telephone = yes">

2. Call using the wtai protocol

The code is as follows: Copy code

<A href = "wtai: // wp // mc; 18511178920"> call the defender </a>

<A href = "wtai: // wp/ap; 18511178920;"> store the owner in the phone book. </a>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.