x-ms-format-detection

Non-standard

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The x-ms-format-detection attribute determines whether data formats within the element’s text, like phone numbers, are automatically converted to followable links.

Existing links, such as ones with the tel: scheme, are unaffected.

Links created through format detection do not appear in the DOM.

This API has not been standardized. This proprietary property is specific to Internet Explorer and Microsoft Edge.

Syntax

<html x-ms-format-detection="none">

Value

all
All supported data formats are detected.
none
Format detection is turned off.
phone
Phone number patterns are autolinked.

See also