单项选择题
以下哪段代码是获取控件内文本的颜色()。
A. var color = aa.style.color
B. aa.style.color = ‘blue’
C. var width = aa.borderWidth
D. var style = aa.style.borderBottomStyle
点击查看答案
相关考题
-
单项选择题
代码P.style.borderBottomWidth=2表示()
A. 设置<p>的边框为2像素
B. 设置<p>的底边框为2像素
C. 设置id为P的标签的边框为2像素
D. 设置id为P的标签的底边框为2像素 -
单项选择题
要给id为P的标签行高设为20像素,代码为:()
A. P.style.fontWeight
B. P.style.margin
C. P.style.lineHeight
D. 以上都不正确 -
单项选择题
对代码 setTimtout("show()",100) 理解正确的是()。
A.有语法错误,要去掉双引号
B.表示100毫秒后调用一次show方法
C.100表示毫秒,在setTimtout后加一个参数,100也可以表示为秒
D.setTimtout相当于C#中的Timer
