首页 › 答案 › 题库 › 超星尔雅学习通未分类

将div类名以'c'开头元素添加文字为红色,书写正确的是()

将div类名以'c'开头元素添加文字为红色,书写正确的是()
A.div[class^=c]color:red
B.div[class$=c]color:red
C.div[class=c]color:red
D.div[class*=c]color:red
正确答案:A