單項選擇題通過()方法獲得集合中每個匹配元素的祖先元素。

A.closest()
B.parent()
C.parentAll()
D.parents()


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題火狐瀏覽器獲取非style中的元素樣式可以用()屬性。

A.getsomputedstyle()
B.getComputedStyle()
C.currentstyle
D.currentStyle

2.單項選擇題通過style方式設(shè)置樣式,樣式的屬性格式是()。

A.大寫
B.駝峰寫法
C.小寫
D.橫杠相連