序号伪类选择器语法格式正确的是()。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、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、div[class="div"]{background:red;}B、div[class=="div"]{background:red;}C、div[class$="div"]{background:red;}D、div[class^="div"]{background:red;}
属性选择器语法格式不正确的是()。A、input[type="text"]{background:red;}B、input{type="text"}{background:red;}C、input[type=password]{background:red;}D、input[type=’password’]{background:red;}
单选题下面哪个是伪类选择器的是()。Ap:afterBdiv:beforeCmyclassDinput:checked