使用JavaScript的( )方法可以根据id名称获取HTML元素对象. A.
getElementsByTagName() B.
getElementsByClassName() C.
getElementById() D.
getElementsByName()