This code is not working
var span = document.getElementById(\"span\"); span.style.fontsize = \"25px\"; span.innerHTML = \"String\";
<
try this:
var span = document.getElementById("span"); span.style.fontSize = "25px"; span.innerHTML = "String";