单选题 在JavaScript中,document对象的属性包括对应的HTML的<body>标签属性以及描述网页自身信息的属。以下能够设置页面背景为蓝色的是()

A、 document.fgColor="blue";
B、 document.backgroundColor="blue";
C、 document.color="blue";
D、 document.bgColor="blue";
下载APP答题
由4l***1n提供 分享 举报 纠错

相关试题

单选题 在JavaScript中,()方法返回一周中的某一天(0-6),0为周日,1为周一,以此类推

A、getDate()
B、getDay()
C、getHours()
D、getTime()

单选题 在JQuery中,()可以获取符合[type=submit]的<input>元素

A、:text
B、:input
C、:submit
D、:file

单选题 在JQuery中,()方法可以动态地改变当前元素的透明度(其他不变),实现淡入的动画效果,最终显示当前元素

A、fadeIn()
B、fadeout()
C、slide()
D、slideup()

单选题 在JQuery中,()符号标志是jQuery的简写形式

A、$
B、&
C、@
D、#

单选题 在JavaScript中,()方法返回小时(0-23)

A、getDate()
B、getDay()
C、getHours()
D、getTime()

单选题 在JavaScript中,()方法返回一个月中的某一天(1-31)

A、getDate()
B、getDay()
C、getHours()
D、getTime()

单选题 在JavaScript中,()方法以四位数返回年份

A、getDate()
B、getDay()
C、getFullYear()
D、getTime()

单选题 在JavaScript中,()方法返回月份(0-11),0为一月,1为二月,以此类推

A、getDate()
B、getMonth()
C、getHours()
D、getTime()