課程
/前端開發(fā)
/JavaScript
/JavaScript入門篇
如何才能讓輸出document.write("Hello");document.write("world");換行顯示?
2016-01-26
源自:JavaScript入門篇 1-5
正在回答
規(guī)范的寫法是:document.write("hello"+"<br />");
直接就可以document.write("hello<br/>");
document.write("hello"+"<br/>");
document.write("word");
document.write(這里可加變量名+"<br>");
舉報(bào)
JavaScript做為一名Web工程師的必備技術(shù),本教程讓您快速入門
6 回答javascript如何換行輸出呢?如下
4 回答如何讓輸入的東西分行顯示
2 回答輸入多行代碼,執(zhí)行后如何讓結(jié)果分行顯示那?
3 回答如何讓這段代碼執(zhí)行
2 回答如何讓用戶自己輸入url呀...
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2016-05-14
規(guī)范的寫法是:document.write("hello"+"<br />");
2016-03-01
直接就可以document.write("hello<br/>");
2016-01-26
document.write("hello"+"<br/>");
document.write("word");
2016-01-26
document.write(這里可加變量名+"<br>");