單項選擇題下面哪個是偽類選擇器的是()。
A.p:after
B.div:before
C.myclass
D.input:checked
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題在CSS中,可用于設(shè)置文本的行高的屬性是()。
A.text-indent
B.letter-spacing
C.text-align
D.line-height
2.單項選擇題在CSS中,要實現(xiàn)鏈接字體顏色為紅色,無下劃線,當(dāng)鼠標移過時顯示下劃線的效果,以下選項正確的是()。
A.a:link{color:#ff0000;} a:hover{text-decoration:underline;}
B.a{color:#ff0000;text-decoration:none;} a:hover{text-decoration:overline;}
C.a{text-decoration:underline;} a:hover{color:#ff0000;text-decoration:none;}
D.a:link{color:#ff0000;text-decoration:none;} a:hover{text-decoration:underline;}