line break in javascript w3schools code example
Example 1: javascript line break
//in JavaScript, you can declare a line break (or new line)
//with the \n character.
var linebreak = '\n';
Example 2: breaks html
<p>
i need a break <br>
ok done with break <br>
had to have another break
<br>
HAD ANOTHER BREAK!!!
</p>
Example 3: line break in js
<html>
<body>
<script>
<!--
document.write("Hello World!");
document.write("<br>");
document.write("Demo<br><br>Text!");
//-->
</script>
</body>
</html>