srcdoc attribute for iframes

- LS

Override the content specified in the src attribute (if present) with HTML content within the attribute.

Chrome

  1. 4 - 13: Not supported
  2. 14 - 19: Not supported (but has polyfill available)
  3. 20 - 122: Supported
  4. 123: Supported
  5. 124 - 126: Supported

Edge

  1. 12 - 18: Not supported (but has polyfill available)
  2. 79 - 122: Supported
  3. 123: Supported

Safari

  1. 3.1 - 3.2: Not supported
  2. 4 - 5.1: Not supported (but has polyfill available)
  3. 6 - 17.3: Supported
  4. 17.4: Supported
  5. TP: Supported

Firefox

  1. 2: Not supported
  2. 3 - 24: Not supported (but has polyfill available)
  3. 25 - 123: Supported
  4. 124: Supported
  5. 125 - 127: Supported

Opera

  1. 9 - 11: Not supported
  2. 11.1 - 12.1: Not supported (but has polyfill available)
  3. 15 - 107: Supported
  4. 108: Supported

IE

  1. 5.5: Not supported
  2. 6 - 10: Not supported (but has polyfill available)
  3. 11: Not supported (but has polyfill available)

Chrome for Android

  1. 122: Supported

Safari on iOS

  1. 3.2: Not supported
  2. 4 - 5.1: Not supported (but has polyfill available)
  3. 6 - 17.3: Supported
  4. 17.4: Supported

Samsung Internet

  1. 4 - 22: Supported
  2. 23: Supported

Opera Mini

  1. all: Not supported

Opera Mobile

  1. 10 - 11: Not supported
  2. 11.1 - 12.1: Not supported (but has polyfill available)
  3. 80: Supported

UC Browser for Android

  1. 15.5: Supported

Android Browser

  1. 2.1 - 4.3: Not supported (but has polyfill available)
  2. 4.4 - 4.4.4: Supported
  3. 122: Supported

Firefox for Android

  1. 123: Supported

QQ Browser

  1. 14.9: Supported

Baidu Browser

  1. 13.52: Supported

KaiOS Browser

  1. 2.5: Supported
  2. 3: Supported
Resources:
Article
MDN Web Docs - iframe
Srcdoc Polyfill