0
Talking about inline and block elements. What's a "New Line" and what's a "Line Break"?
2 Réponses
+ 1
Never heard of a "New Line", however a "Line Break" <br>, will move down one line in a paragraph or in your window..for example :
<p>This text contains<br>a line break.</p>
Result :
This text contains
a line break.
.....versus no line break...for example :
<p>This line contains no line break.</p>
Result :
This line contains no line break.
0
<br />
known as line break in html tags
\r\n stands for Return and Newline (Displays the following in next line). But it is not Part of HTML. It is a part of scripting language such as ASP or PHP