多项选择题

(Multiple-choice questions) The following statement about obtaining page elements is correct ( )

A.document.getElementById(‘a’) is an element in the page obtained by the id value of a.
B.document.getElementsByName(“na”) is an element in the page obtained by the name attribute value of na
C.document.getElementsByTagName(“div”) is to get all divs by tag name;
D.The above statements are not correct;
微信扫码免费搜题