單項(xiàng)選擇題刪除某個(gè)元素節(jié)點(diǎn)的子節(jié)點(diǎn)的方法是()。

A.setAttributeNode
B.removeAttributeNode
C.removeAttribute
D.removeChild


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題向元素節(jié)點(diǎn)的子節(jié)點(diǎn)列表中添加新節(jié)點(diǎn)的方法有()。

A.appendChild
B.insertBefore
C.setAttributeNode
D.removeChild

2.單項(xiàng)選擇題document對象中用于創(chuàng)建一個(gè)屬性節(jié)點(diǎn)的方法是()

A.createAttributeNode
B.createElement
C.createAttribute
D.createTextNode

3.單項(xiàng)選擇題document對象中通過文本內(nèi)容創(chuàng)建文本節(jié)點(diǎn)的方法是()。

A.createText
B.createElement
C.createAttribute
D.createTextNode

4.單項(xiàng)選擇題通過元素的()屬性可以獲取當(dāng)前元素節(jié)點(diǎn)的所有屬性節(jié)點(diǎn)。

A.getAttribute
B.setAttribute
C.hasAttribute()
D.attributes

5.單項(xiàng)選擇題用于判斷元素節(jié)點(diǎn)是否有指定的屬性存在的方法是()。

A.getAttribute
B.setAttribute
C.hasAttribute()
D.attributes