A.div.getAttribute("id")
B.div.get
C.div.Attribute("id")
D.div.attr("id")
您可能感兴趣的试卷
你可能感兴趣的试题
A..body
B.document
C.document.body
D.document.html
A.div.style.color="red"
B.div.style="red"
C.div.color="red"
D.div.style.color("red")
A.remove()
B.del()
C.append()
D.move()
A.div.setAttribute("id","box")
B.div.setAttribute("class","box")
C.div.getAttribute("class")
D.div.class
A.document.documentElement
B.document.getElementsByTagName("div")
C.document.body
D.document.getElementsByClassName("box")[0]
A.document.getElementsByTagName("div")[0]
B.document.getElementById("div")
C.document.getElementsByName("div")
D.document.getElementsByClassName("box")[0]
A.onmouseover
B.onmouseout
C.onclick
D.onmouseleave
最新试题
使用<figcaption>元素必须放在<figure>元素的内部。
在JavaScript中,使用JSON.parse()将字符串解析为JSON对象时,如果字符串格式不正确,会抛出语法错误。
JavaScript中,null和undefined是相同的。
使用flex-grow:2;属性,Flex容器中的项目将根据其在容器中的比例分配额外的空间。
在HTML中,<meta charset="UTF-8">用于定义文档的字符集为UTF-8。
在CSS中,margin:auto;可以使一个元素水平居中。
在CSS中,overflow:scroll;会在需要时显示滚动条。
在HTML中,<dl>元素用于定义一个包含描述性名称和与之关联的值的描述列表。
CSS中box-sizing:content-box;会包含元素的内边距和边框在内,但不包括外边距。
CSS中,text-transform:capitalize;将文本中的每个单词的首字母转换为大写。