同学们,这个截图里面的怎么能使输出的结果换行啊?我用 <br /没效果啊
在需要换行的地方加一行document.write("<br/>")
document.write("<br/>")
没看到有br 单独在第一句输出下加上document.write("")
标签换行使用 br例如
document.write("aaaa<br>bbbb")
字符串换行使用 \n例如
\n
console.log("asdasd\nasdas")
请采纳