"\n" is not producing a new line in the web page? What is the problem? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

"\n" is not producing a new line in the web page? What is the problem?

14th Nov 2017, 1:19 PM
Vasu Dev
Vasu Dev - avatar
2 Answers
+ 9
In html or JavaScript. \n doesn't produce a new line in html
14th Nov 2017, 1:36 PM
qwerty
qwerty - avatar
+ 8
ah <br>
14th Nov 2017, 1:43 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar