首页 › 答案 › 题库 › 网课

下列哪个方法可以用来获取HTML元素的属性值?

下列哪个方法可以用来获取HTML元素的属性值?
A、ElEMEnt.gEtAttributE("MyAttributE")
B、ElEMEnt.MyAttributE
C、ElEMEnt.attributE("MyAttributE")
D、以上都可以
正确答案:ElEMEnt.gEtAttributE("MyAttributE")