Element.insertAdjacentElement() & Element.insertAdjacentText()

- LS

Methods for inserting an element or text before or after a given element, or appending or prepending an element or text to a given element's list of children.

IE

  1. 5.5: Support unknown
  2. 6 - 10: Supported
  3. 11: Supported

Edge

  1. 12 - 89: Supported
  2. 90: Supported

Firefox

  1. 2 - 47: Not supported
  2. 48 - 87: Supported
  3. 88: Supported
  4. 89 - 90: Supported

Chrome

  1. 4 - 89: Supported
  2. 90: Supported
  3. 91 - 93: Supported

Safari

  1. 3.1 - 14: Supported
  2. 14.1: Supported
  3. TP: Supported

Opera

  1. 9: Support unknown
  2. 9.5 - 74: Supported
  3. 75: Supported

Safari on iOS

  1. 3.2 - 14.4: Supported
  2. 14.5: Supported

Opera Mini

  1. all: Supported

Android Browser

  1. 2.1 - 2.2: Support unknown
  2. 2.3 - 4.4.4: Supported
  3. 90: Supported

Opera Mobile

  1. 10 - 12.1: Supported
  2. 62: Supported

Chrome for Android

  1. 90: Supported

Firefox for Android

  1. 87: Supported

UC Browser for Android

  1. 12.12: Supported

Samsung Internet

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

QQ Browser

  1. 10.4: Supported

Baidu Browser

  1. 7.12: Supported

KaiOS Browser

  1. 2.5: Supported
Resources:
JS Bin testcase
MDN Web Docs - Element.insertAdjacentElement()
MDN Web Docs - Element.insertAdjacentText()
WHATWG DOM Specification for Element.insertAdjacentText()