Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone converts dates on my website into phone numbers — how can I prevent this?

Tags:

html

iphone

web

Recently I checked my website in iPhone and I discovered that the iPhone sometimes convert dates or anything similiar to phone numbers.

What does it mean? Let’s say I’ve got, somewhere on my website, the following line:

<font style="color:red;font-size:40px;">bla bla bla 19/03/2011</font>

The iPhone converts it to a phone number — the color become black and the font size become small (like 12px).

How can I disable it? What do I need to add to my website in order to prevent the conversion?

I can manipulate it so it won’t convert it into phone number - for example by adding '-' before the date, but I dont want to do it that way.

How can I solve it?

Thanks.

like image 820
Ron Avatar asked Mar 19 '11 00:03

Ron


1 Answers

I believe this is what you are looking for:

<meta name="format-detection" content="telephone=no">
like image 164
Michael Avatar answered Nov 09 '22 20:11

Michael