单项选择题
选取每个<ul>元素的第一个<li>元素()
A.$("ul li:first")
B.$("ul li:first-child")
C.$("ul li:1-child")
D.$("ul li:0-child")
点击查看答案
相关考题
-
单项选择题
选取带有href属性的元素()
A.$("[href]")
B.$("href")
C.$("#href")
D.$(".href") -
单项选择题
选取所有type=“button”的<input>元素和<button>元素()
A.$("button")
B.$("#button")
C.$("first:button")
D.$(":button") -
单项选择题
选取偶数位置的<tr>元素()
A.$("tr:even")
B.$("tr:odd")
C.$("tr:2")
D.$("tr:1")
