x-ms-format-detection attribute | x-ms-format-detection property
Determines whether data formats within content are automatically detected and (if found) converted to clickable links.
Syntax
| HTML | <element x-ms-format-detection="value" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
| Value | Condition |
|---|---|
|
All supported data formats are detected. |
|
Format detection is not allowed. |
|
Phone number patterns are matched. |
Remarks
For Internet Explorer 11, the "all" and "phone" values have essentially the same effect.
Links created through format detection do not affect the content or layout of the Document Object Model (DOM).
See also
- abbr
- address
- article
- aside
- bdo
- blockQuote
- body
- caption
- cite
- code
- data
- dd
- del
- dfn
- div
- dl
- em
- embed
- fieldSet
- figcaption
- figure
- footer
- h1, h2, h3, h4, h5, and h6
- header
- hr
- iframe
- ins
- kbd
- label
- legend
- li
- link
- map
- mark
- menu
- nav
- object
- ol
- p
- q
- ruby
- s
- samp
- section
- small
- span
- strong
- sub
- summary
- sup
- table
- tBody
- td
- tHead
- tr
- ul
- var
- wbr
- Automatic phone number detection
Show: