add content to html use js code example
Example: js add content
document.getElementById("parentID").appendChild(/*..your content created using DOM methods..*/)
document.getElementById("parentID").appendChild(/*..your content created using DOM methods..*/)