-4

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.

enter image description here

Nitin Bisht
  • 5,053
  • 4
  • 14
  • 26
  • 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
  • 1
    Welcome 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 Answers2

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
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.