CSS選取器

班級:座號:姓名:
1.(19) :disabled       1. 將class名稱是bestdaylong或將id名稱是bestdaylong的元素選取
2.(8) ul + h3       2. 在所有的p元素中找到第一個元素選取
3.(35) li:nth-of-type(2)       3. 將title屬性值有beautiful單詞的元素選取
4.(17) [id*=s]       4. 在所有的p元素中屬性所有有同一個父親的每一個最後一個p元素(*)
5.(30) p:last-of-type       5. 在所有的li元素中第二個元素選取
6.(23) p:first-child       6. 將id屬性值有包含s的元素選取
7.(3) .bestdaylong, #bestdaylong       7. 將表單中所有空元素全部選取(像<input/>)
8.(10) *       8. 將所有的元素全部選取
9.(21) :empty       9. 將在ul後面是第一個h3元素選取
10.(16) [title~=beautiful]       10. 將表單中所有disabled的元素選取

解答: 1.【10】2.【9】3.【5】4.【6】5.【4】6.【2】7.【1】8.【8】9.【7】10.【3】