how to print new line in javascri[t code example Example: new line in js document.write("\n"); //second method for html page document.write("<br>");