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