JSREF

HTML DOM Element insertAdjacentHTML()

Insert a new <p> element after a header element: