innerhtml line break code example
Example 1: add line break in innerhtml
document.getElementById("demo").innerHTML += "hello";
document.getElementById("demo").innerHTML += linebreakhere;
Example 2: add line break in innerhtml
document.getElementById("demo").innerHTML += "hello";
document.getElementById("demo").innerHTML += "<br>";