課程
/前端開(kāi)發(fā)
/JavaScript
/JavaScript入門(mén)篇
document.write("hello");
2016-07-01
源自:JavaScript入門(mén)篇 1-1
正在回答
document.write("<font color='blue'>hello</font>")
document.write("<a style='color:blue'>hello</a>")
以上都不對(duì),使用這個(gè)document.write("hello".fontcolor("Blue"));
試了下 上面的都不可以
不行的吧 三四樓write都拼錯(cuò)了
document.writ("hello").style.color = "blue";
document.writ("hello").style.color = "blue"
document.write("hello").style.color = "blue"
舉報(bào)
JavaScript做為一名Web工程師的必備技術(shù),本教程讓您快速入門(mén)
5 回答那么問(wèn)題來(lái)了,怎么把 “hello”整成藍(lán)色
3 回答想要“hello”變成藍(lán)色怎么破?
2 回答請(qǐng)問(wèn)怎么把按鈕的背景色設(shè)置為紅色呢?
1 回答怎么給字體設(shè)置刪除線(xiàn)
2 回答設(shè)置的寬為什么不是字體寬度?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢(xún)優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-09-04
document.write("<font color='blue'>hello</font>")
document.write("<a style='color:blue'>hello</a>")
2016-07-27
以上都不對(duì),使用這個(gè)document.write("hello".fontcolor("Blue"));
2016-07-12
試了下 上面的都不可以
2016-07-11
不行的吧 三四樓write都拼錯(cuò)了
2016-07-01
document.writ("hello").style.color = "blue";
2016-07-01
document.writ("hello").style.color = "blue"
2016-07-01
document.write("hello").style.color = "blue"
2016-07-01
document.write("hello").style.color = "blue"