how to enter to next line in 'text:' javascript code example Example: how to go to next line in javascript document.write("\n");