下面描述错误的是
A. document.head 返回head元素
B. document.body 返回body元素
C. document,docuemntElement返回html元素
D. document.html 返回html元素
以下返回结果为类数组对象的语句为
A. document.getElementById()
B. document.getElementsByClassName()
C. document.querySelector ()
D. document.querySelectorAll()
在JavaScript中,以下哪条语句能隐藏id为flower的div
A. document.getElementById(“flower”).style.display=“none”;
B. document.getElementById(“flower”).style.display=“hidden”;
C. document.getElementById(“flower”).style.visibility=“none”;
D. document.getElementById(“flower”).style.visibility=“hidden”
节点之间的关系不包括
A. 包含关系(父子关系)
B. 平级关系(兄弟关系)
C. 包裹关系
D. 覆盖关系