单项选择题

ECP提供了很多工具类方法,以下哪个方法是获取HTML标签的属性?()

A.attr
B.getAttribute
C.getHTMLAttribute
D.getEcpHtmlAttribute