多項選擇題向元素節(jié)點的子節(jié)點列表中添加新節(jié)點的方法有()。

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


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題document對象中用于創(chuàng)建一個屬性節(jié)點的方法是()

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

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

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

3.單項選擇題通過元素的()屬性可以獲取當前元素節(jié)點的所有屬性節(jié)點。

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

4.單項選擇題用于判斷元素節(jié)點是否有指定的屬性存在的方法是()。

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

5.單項選擇題通過節(jié)點的()屬性訪問其最后一個子節(jié)點。

A.firstChild
B.lastChild
C.nextElementSibling
D.previousElementSibling