0

\n is not working in document.write("Hello\nworld")

1st Oct 2016, 6:02 PM
Raja Kumar
Raja Kumar - avatar
2 Antworten
+ 5
You may use <br/> instead. as document.write("Hello<br/> world");
1st Oct 2016, 6:27 PM
Mohammed Chetehouna
0
his right you cant use \n in document.write you have to put <br/> instead
1st Oct 2016, 9:30 PM
Krisna A. Haryadi
Krisna A. Haryadi - avatar