logo - 刷刷题
下载APP
【多选题】

(Multiple-choice question) Which of the following statements about obtaining page elements are correct? ( )

A.
document.getElementById("a") means to obtain an element in the page by the id value "a".
B.
document.getElementsByName("na")means to obtain an element in the page by the name attribute value "na".
C.
document.getElementsByTagName("div") means to get all divs by tag name.
D.
The above statements are not correct.
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】Which of the following expressions returns false? ( )

A.
!(3<=1)
B.
(4>=4) && (5<=2)
C.
("a"=="a") && ("c" != "d")
D.
(2<3) || (3<2)

【单选题】Which of the following ways to introduce external js into html is corrent? ( )

A.
<script href='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>
B.
<script src='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>
C.
<script link='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>
D.
<script target='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>

【单选题】Which of the following statements about JavaScript function is correct? ( )

A.
Parameters are acceptable.
B.
There is no difference between arguments and formal parameters.
C.
There is no return type.
D.
There is noreturn keyword.

【单选题】下列哪一项正向事件描述符合青春期阶段?

A.
发展出对不同任务的胜任感
B.
发展出对下一代的关爱,关心他们的健康和发展
C.
学会无私奉献和得到回报
D.
探索自我认同的各个方面,形成整合的自我概念

【单选题】setInterval("alert('welcome');",1000)What is the meaning of the code on the left? ( )

A.
After waiting for 1000 seconds, a dialog box pops up.
B.
After waiting for 1 second, a dialog box pops up.
C.
Statement error, syntax error.
D.
A dialog box pops up every 1 second.