Talking about inline and block elements. What's a "New Line" and what's a "Line Break"? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Talking about inline and block elements. What's a "New Line" and what's a "Line Break"?

10th Oct 2016, 12:10 AM
Ermitage
2 Respostas
+ 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.
10th Oct 2016, 3:29 AM
Ray
Ray - avatar
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
31st Oct 2016, 4:13 PM
ezak ezat
ezak ezat - avatar