单项选择题

能够获取特定元素节点属性的方法的是()

A.replaceChind()
B.getAttribute()
C.setAttribute()
D.removeAttribute()