免費免註冊,彰化一整天線上測驗:http://exam.bestdaylong.com/link2348.htm
| 【 | 將id屬性值是my-Address的元素選取 | 】 | 1. | [id=my-Address] | 【 | 】 | (12) | ||||||
| 【 | 將所有h1跟p元素選取 | 】 | 2. | h1, p | 【 | 】 | (5) | ||||||
| 【 | 在所有的p元素中找到第一行選取(P後面直接加上其它元素如B就不會被選取) | 】 | 3. | p::first-line | 【 | 】 | (25) | ||||||
| 【 | 在所有的p元素中找到第一個元素選取 | 】 | 4. | p:first-child | 【 | 】 | (23) | ||||||
| 【 | 在所有的li元素中第二個元素選取 | 】 | 5. | li:nth-of-type(2) | 【 | 】 | (35) | ||||||
| 【 | 將所有h1元素選取 | 】 | 6. | h1 | 【 | 】 | (4) | ||||||
| 【 | 在所有的tr元素中每一個偶數的元素選取 | 】 | 7. | tr:nth-child(odd) | 【 | 】 | (32) | ||||||
| 【 | 在所有的li元素中第一個元素選取 | 】 | 8. | li:nth-child(1) | 【 | 】 | (33) | ||||||
| 【 | 將id名稱是bestdaylong的元素選取 | 】 | 9. | #bestdaylong | 【 | 】 | (2) | ||||||
| 【 | 將id屬性值是L開頭的元素選取 | 】 | 10. | [id^=L] | 【 | 】 | (15) |