Comment insérer HTML en javascript
var h = document.getElementById("myH2");
h.insertAdjacentHTML("afterend", "<p>My new paragraph</p>");
Anthony Smith
var h = document.getElementById("myH2");
h.insertAdjacentHTML("afterend", "<p>My new paragraph</p>");
let target = document.getElementById("ID");
target.innerHTML += "<p>CONTENTS</p>";
document.getElementById('tag-id').innerHTML = '<ol><li>html data</li></ol>';