A.createAttribute()B.createElement()C.createTextNode()D.appendChild()
A.h1.hasAttribute(“name”,”zhangsan”)B.h1.setAttribute(“name”,”zhangsan”)C.h1.getAttribute(“name”)D.h1.setAttribute(“name”)