代码:document.bgColor="red"的意思是()。
A、设置网页的文字颜色为红色
B、设置ID为document的标签的背景色为红色
C、设置网页的背景色为红色
D、语法错误
A、设置网页的文字颜色为红色
B、设置ID为document的标签的背景色为红色
C、设置网页的背景色为红色
D、语法错误
A、$(document).bind("keyup") B、$(document).bind("mouseup") C、$(document).bind("click") D、$(document).on("load")
A、document.getElementById(“divid”).top=0; B、document.getElementById(“divid”).pixelTop= document.body.scrollTop; C、document.getElementById(“divid”). pixelTop=0; D、document.getElementById(“divid”).stype. pixelTop= document.body.scrollTop;
A、document.myform.selCity.options.clear() B、document.myform.selCity.options.deleteAll() C、document.myform.selCity.options.length=0 D、document.myform.selCity.options.size=0
A、将var e 改为var object e更好 B、document.getElementsByName("js")表示获得ID为js的标签 C、document.getElementsByName("js")和document.getElementsById("js")是等效的 D、e是name值为js的标签数组
A、A.<table bgcolor=green bordercolor=red> B、B.<td bgcolor=red bordercolor=green> C、C.<tr bgcolor=green bordercolor=red> D、D.<td bgcolor=green bordercolor=red>
A、A.语法错误 B、B.这段代码是获得div1标签对象 C、C.这段代码是获得div1标签内的HTML文本 D、D.这段代码是获得div1标签包含div1标签在内的HTML文本