itahana-depart
3/11/2020 - 3:17 AM

insertAdjacentHTML

element.insertAdjacentHTML(position, text);


<!-- beforebegin -->
<element>
  <!-- afterbegin -->
  <child>Text</child>
  <!-- beforeend -->
</element>
<!-- afterend -->