<CSS選取器 >

免費免註冊,彰化一整天線上測驗:http://exam.bestdaylong.com/link2348.htm

在所有的p元素中找到第一個字元選取1. p::first-letter(24)
在所有的li元素中最後一個元素選取2. li:nth-last-child(1)(34)
將id屬性值有包含s的元素選取3. [id*=s](17)
將id名稱是bestdaylong的元素選取4. #bestdaylong(2)
在所有的li元素中第二個元素選取5. li:nth-of-type(2)(35)
在所有的p元素中屬性lang的值是it開頭6. p:lang(it)(28)
將在div後面是span元素全部選取7. div span(6)
將id屬性值是my或是單詞my的元素選取8. [id|=my](14)
將class名稱是bestdaylong的元素選取9. .bestdaylong(1)
將所有h1跟p元素選取10. h1, p(5)

解答:
001.【在所有的p元素中找到第一個字元選取】002.【在所有的li元素中最後一個元素選取】003.【將id屬性值有包含s的元素選取】004.【將id名稱是bestdaylong的元素選取】005.【在所有的li元素中第二個元素選取】
006.【在所有的p元素中屬性lang的值是it開頭】007.【將在div後面是span元素全部選取】008.【將id屬性值是my或是單詞my的元素選取】009.【將class名稱是bestdaylong的元素選取】010.【將所有h1跟p元素選取】