A.document.querySelectorsAll(’button’)
B.document.getElementsByTagName(’button’)
C.document.getElementByTagName(’button’)
D.document.querySelector(’button’)
您可能感興趣的試卷
你可能感興趣的試題
A.demo.style.cssText="color:red;background:blue;"
B.demo.style="color:red;background:blue;"
C.demo.style.text="color:red;background:blue;"
D.以上說法都不正確
以下代碼輸出結(jié)果為()
var num = [1,2,3,4,5];console.log(num.slice(2))
A.[1,2,3,4,5]
B.[2,3,4,5]
C.3
D.[3,4,5]

最新試題
Window.getComputedStyle()方法返回一個(gè)對(duì)象,該對(duì)象在應(yīng)用活動(dòng)樣式表并解析這些值可能包含的任何基本計(jì)算后報(bào)告元素的所有CSS屬性的值
return false可以阻止默認(rèn)行為。
在require.config的shim字段內(nèi)導(dǎo)出非AMD模塊中的多個(gè)方法時(shí),以下寫法正確的是()
為了讓更多的人了解企業(yè)的形象和產(chǎn)品,選擇制作的最佳作品是()。
velocity的第二個(gè)參數(shù)中的easing的值為’ease-in-out’時(shí),表示緩動(dòng)的類型是()