srcdoc attribute for iframes

- LS

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

IE

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

Edge

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

Firefox

  1. 2: Not supported
  2. 3 - 24: Not supported (but has polyfill available)
  3. 25 - 92: Supported
  4. 93: Supported
  5. 94 - 95: Supported

Chrome

  1. 4 - 13: Not supported
  2. 14 - 19: Not supported (but has polyfill available)
  3. 20 - 93: Supported
  4. 94: Supported
  5. 95 - 97: Supported

Safari

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

Opera

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

Safari on iOS

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

Opera Mini

  1. all: Not supported

Android Browser

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

Opera Mobile

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

Chrome for Android

  1. 94: Supported

Firefox for Android

  1. 92: Supported

UC Browser for Android

  1. 12.12: Supported

Samsung Internet

  1. 4 - 14.0: Supported
  2. 15.0: Supported

QQ Browser

  1. 10.4: Supported

Baidu Browser

  1. 7.12: Supported

KaiOS Browser

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