单项选择题

选择具有att属性且属性值为以val开头的字符串的E元素的选择器是哪个()

A.E[att]
B.E[att="val"]
C.E[att~="val"]
D.E[att^="val"]