Share this page : facebooktwitterlinkedinmailfacebooktwitterlinkedinmail

Decorate Phone number:

The Smart phone will detect the phone number and render it, which may make the style inconsistent. To

To remove all auto-formatting for telephone numbers, add this to the head of your html document:

<meta name="format-detection" content="telephone=no">

View more Apple-Specific Meta Tag Keys.

Html:

Note: If you have phone numbers on the page with these numbers you should manually format them as links:

<a href="tel:+1-555-555-5555">1-555-555-5555</a>

Then the CSS should be:

a[href^="tel"] {
 color: inherit;
 text-decoration: none;
 }