Meta tags

format-detection

An Apple extension that can stop Safari on iOS from turning text that looks like a telephone number into a call link.

Parameters

telephone=no
Stops Safari on iOS from automatically linking text that looks like a telephone number.
<meta name="format-detection" content="telephone=no">
export type FormatDetection =
     /**
   * Stops Safari on iOS from automatically linking text that looks like a telephone number.
  **/
    'telephone=no'

Code examples

Good example
<meta name="format-detection" content="telephone=no">
The value documented by Apple for disabling automatic telephone links in Safari on iOS.
Avoid this example
<meta name="format-detection" content="email=no, address=no">
Apple’s Safari documentation does not define email or address values for this tag.
Avoid this example
<meta name="format-detection" content="telephone=off">
The documented value is telephone=no, not telephone=off.
Avoid this example
<meta name="format-detection" content="">
An empty value changes nothing. Omit the tag when the default detection is acceptable.

Recommendations

  • 01
    Use It for False Positives
    Add telephone=no when identifiers, order numbers, or other text are being mistaken for phone numbers.
  • 02
    Add Real Call Links Yourself
    When detection is off, mark real phone numbers with tel links so people can still call them.

Related documentation

Related meta tags

Gives browsers a short name for the web application represented by the page. A browser may use it instead of the page title in bookmarks or other interface labels.

<meta name="application-name" content="Zhead">
A short application name that stays useful when the page title changes.

charset

charset

Declares the character encoding used by the HTML document. In modern HTML, the value must be UTF-8.

<meta charset="utf-8">
The required character encoding for modern HTML.

Tells the browser which color schemes the page can render. The browser can use this early, before the stylesheet loads, to choose a suitable canvas and native controls.

<meta name="color-scheme" content="light dark">
Declares support for both common schemes, with light listed first as the fallback preference.

default-style

http-equiv

Selects the preferred CSS style sheet set by name when a page offers alternate titled stylesheets. Browser support is limited.

<meta http-equiv="default-style" content="Main Style">
Valid when a linked stylesheet set has the exact title Main Style.

An Apple extension that can stop Safari on iOS from turning text that looks like a telephone number into a call link.

<meta name="format-detection" content="telephone=no">
The value documented by Apple for disabling automatic telephone links in Safari on iOS.