單項選擇題用于設(shè)置或返回當(dāng)前元素標(biāo)簽之間的純文本信息的是()。

A.innerHTML
B.getAttribute
C.setAttribute
D.innerText


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題從一個元素節(jié)點中刪除一個屬性的方法是()。

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

2.單項選擇題從一個元素節(jié)點中刪除一個屬性節(jié)點的方法是()。

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

3.單項選擇題刪除某個元素節(jié)點的子節(jié)點的方法是()。

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

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

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

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

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