Web Mobile website Mobile phone Click to send text messages

Source: Internet
Author: User

Original address:

http://www.blesswe.com/portal.php?mod=view&aid=428

  

We are in the mobile phone to browse the Web is hoping that users can see the mobile phone number click to directly call or send text messages, below we CSS3 have a special title can let you implement this method.

Recently have a friend to do a mobile page directly to call the function, I checked the relevant information, each of the statements have been tried, only use a tag in the method is the most convenient and compatible with the best.

Make a phone call on a mobile page

The code is as follows Copy Code

<a href= "tel:18511178920" >

Call the Warden </a> send a text message on the mobile page

The code is as follows Copy Code

<a href= "sms:18511178920" >

The Watcher sends SMS consultation </a> This method is best, compatible with mobile Safari,chrome,uc,qq browser, Dolphin Browser etc.
Other methods are not recommended, mainly compatibility is too poor, also listed bar, for reference

1. Mobile Web page automatic detection phone number

The code is as follows Copy Code

<meta name= "format-detection" content= "Telephone=yes" >

2. Make a call using the Wtai protocol

The code is as follows Copy Code

<a href= "wtai://wp//mc;18511178920" > Call catcher </a>

<a href= "wtai://wp/ap;18511178920;" > Save the Watcher to the phone book </a>

Web Mobile website Mobile phone Click to send text messages

Related Article

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.