单项选择题

A.div.getAttribute("id")
B.div.get
C.div.Attribute("id")
D.div.attr("id")