單項選擇題

DOM 中,創(chuàng)建新的屬性節(jié)點的方法是()

A.createElement(tagname)
B.createTextNode(text)
C.createAttribute()
D.createComment(text)

微信掃碼免費搜題