New line code
You're looking for some new line code!
Here are a few examples:
HTML
<br>
: Inserts a line break<p>
: Inserts a paragraph break<hr>
: Inserts a horizontal rule (a line that spans the width of the page)
CSS
white-space: pre;
: Preserves whitespace and line breakswhite-space: pre-wrap;
: Preserves whitespace and line breaks, and wraps text to the next line if necessaryoverflow-wrap: break-word;
: Breaks long words to the next line
JavaScript
document.write("<br>");
: Inserts a line breakdocument.write("<p>");
: Inserts a paragraph breakdocument.write("<hr>");
: Inserts a horizontal rule
Python
print("\n")
: Inserts a line breakprint("<br>")
: Inserts a line break (note: this is an HTML line break, not a native Python line break)
Java
System.out.println();
: Inserts a line breakSystem.out.print("<br>");
: Inserts a line break (note: this is an HTML line break, not a native Java line break)
Let me know if you have any specific requirements or if you'd like more examples!