97.以下关于奇偶选择器论述正确的是( )。 tr:nth-child(odd){ color:red; }
举一反三
- 序号伪类选择器语法格式正确的是()。 A: Ali:first-child{color:red;} B: Bli:last-child(1){color:red;} C: Cli:nth-child(odd){color:red;} D: Dli:nth-last-child(5){color:red;}
- 序号伪类选择器语法格式正确的是()。 A: li:first-child{color:red;} B: li:last-child(1){color:red;} C: li:nth-child(odd){color:red;} D: li:nth-last-child(5){color:red;}
- 以下()是类选择器。 A: .style1{color:red;} B: C: style1{color:red;} D: @style1{color:red;} E: style1{color:red;}
- 使用选择器,选择test的类的段落,下列写法正确的是() A: .p.test{color:red;} B: p C: test{color:red;} D: p.test{color:red;} E: .p,test{color:red;}
- 实现表格中隔行变色的效果可以使用"tr:nth-child(odd)"