单项选择题

()用于选取带有以指定值开头的属性值的元素,该值必须是整个单词或是后面跟着连字符“—”。

A.td[lang]{color:red;}
B.td[title=”h”]{color:red;}
C.td[title=”a”]{color:red;}
D.td[title~=”c”]{color:red;}