adding html in other html through js

JavaScript
element.innerHTML += "additional HTML code"

Source

Also in JavaScript: