Reputation: 182
I am currently working on a website on which order-numbers for products are shown. The iPhone detects them as a phone number and links them. Is there a way to prevent this?
To be specific: is there a way to prevent the detection in certain divs or sections?
<meta name="format-detection" content="telephone=no">
I know this, but there's no need to prevent the detection globally, because it is okay for phone numbers.
Any idea?
Upvotes: 4
Views: 1410
Reputation: 2676
A solution could be to add the meta-tag you mention and then make phone numbers as links, such as:
<a href="tel:12345678">12345678</a>
Upvotes: 2