0
How to go next line in program output
var a=5,b=6,c; c=a+b; document. write (c);
3 Answers
+ 2
Use <br> tag to create new line if you are using it in browser. But when you use in console use \n. Both create new line but at different place. like
document.write("<br>Hello");
0
If you are asking about new line try \n. It should work.
- 1
it is <br /> tag