Attribute Selector [name="value"]
选择指定属性是给定值的元素
Attribute Selector [name|="value"]
选择指定属性值等于给定字符串或以该字符串为前缀(该字符串后 跟一个连字符“-” )的元素
Attribute Selector [name*="value"]
选择指定属性具有包含一个给定的子字符串的元素。(选择给定的 属性是以包含某些值的元素)
Attribute Selector [name~="value"]
选择指定属性用空格分隔的值中包含一个给定值的元素
Attribute Selector [name$="value"]
选择指定属性是以给定值结尾的元素。这个比较是区分大小写的
Attribute Selector [name^="value"]
选择指定属性是以给定字符串开始的元素
Document nameageaa aa-bb aabb
xx xx-yy xxyzyy
