问题 更新时间2023/6/11 11:10:00
若在HTML页面中包含如下标记,则选项中的( )语句能够实现改变字号的功能。
你好
A.document.getElementById("box").style.font-size="40px";
B.document.getElementById("box").style.fontSize="40px";
C.document.getElementById("box").style.font="40px";
D.document.getElementById("box").style.font_size="40px";
你好
A.document.getElementById("box").style.font-size="40px";
B.document.getElementById("box").style.fontSize="40px";
C.document.getElementById("box").style.font="40px";
D.document.getElementById("box").style.font_size="40px";
王老师:19139051760(拨打)
第2题
点击查看答案
答案