I am making an html link for a phone.
This is what I have:
<a href="tel:1-888-888-8888"> 1-888-888-8888</a>
Will phones recognize this, or do I need to change it to:
<a href="tel:18888888888"> 1-888-888-8888</a>
Adding an HTML Phone Number Call Link to your WebsiteHref=tel: creates the call link. This tells the browser how to use the number. “Tel: 123-456-7890 “creates the HTML phone number. The number within the quotes is the number it will call.
What is a Tel Link? Tel link is a telephone link used on websites. Simply said, it makes your phone number clickable. Therefore, whenever the customer wants to contact you, he/she can click on the link and connect with your customer support right away.
Visual separators (except for spaces) are allowed in the uri.
From RFC 3966 "The tel URI for Telephone Numbers":
5.1.1. Separators in Phone Numbers
Phone numbers MAY contain visual separators. Visual separators ('visual-separator') merely aid readability and are not used for URI comparison or placing a call ... "tel" URIs MUST NOT use spaces in visual separators ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With