相关考题
-
单项选择题
()用于选取带有以指定值开头的属性值的元素,该值必须是整个单词或是后面跟着连字符“—”。
A.td[lang]{color:red;}
B.td[title=”h”]{color:red;}
C.td[title=”a”]{color:red;}
D.td[title~=”c”]{color:red;} -
单项选择题
用于选取带有指定属性和指定值的元素是()。
A.td[lang]{color:red;}
B.td[title=”a”]{color:red;}
C.td[title=”c”]{color:red;}
D.td[title~=”h”]{color:red;} -
单项选择题
对一个网页中所有元素进行统一样式设置,应使用()。
A.HTML标签
B.属性选择器
C.全局选择器
D.类选择器
