insertAdjacentHTML

The insertAdjacentHTML() method of the the resulting nodes into the DOM tree at a specified position.

MDN Reference