0
How to create a new line in web browser with java script ?there is only created a space with \n in browser.
2 Answers
+ 3
You can use tags like <br> inside the document.write() function.
Eg :
document.write("Hello<br>World");
Secondly, please remove the C++ tag as it is misleading for the community.
0
thanks