I have an issue with an anchor tag.I am using 619-618-1660 in my website , and the problem is when i check my website on safari browser or an iPhone the text written in (href="tel:619-618-1660") is showing.You can check the image in below link.
Asked
Active
Viewed 102 times
-4
-
Probably this is a bad html. There are missing close tags. Checkout. But I wonder how it is only on safari! – Ramesh Sep 11 '18 at 16:15
-
1Welcome to Stack Overflow. Please read: [How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve) – disinfor Sep 11 '18 at 16:17
2 Answers
0
Add this meta tag to the top of your html
<meta name="format-detection" content="telephone=no">
Previously asked here

Jake
- 712
- 7
- 20
-
Interesting. It might be better to apply CSS rules to the resulting links to make them look right instead of turning off the sometimes-useful functionality, though. – ceejayoz Sep 11 '18 at 21:00
-
0
The Issue has been resolved , there is a file with the name of print.css with this code.
body{background:white !important;color:black !important;}#nav,#sidebar,.sidebar,#skip{display:none;}#content{width:100%;float:none;background:transparent;}a:not(.logo a){font-weight:bold;text-decoration:underline;color:#06c;}a:not(.logo a):after{content:" [" attr(href) "] ";}p{font-size:14px;}#printOnlyMessage{display:block !important;}
and in this code that produces an error is
a:not(.logo a):after{content:" [" attr(href) "] ";}
so I remove this code and the error is resolved.