Attribute
-
Attribute Contains Prefix Selector [attribute|="value"]
Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).
-
Attribute Contains Selector [attribute*="value"]
Selects elements that have the specified attribute with a value containing the a given substring.
-
Attribute Contains Word Selector [attribute~="value"]
Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.
-
Attribute Ends With Selector [attribute$="value"]
Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.
-
Attribute Equals Selector [attribute="value"]
Selects elements that have the specified attribute with a value exactly equal to a certain value.
-
Attribute Has Selector [attribute]
Selects elements that have the specified attribute, with any value.
-
Attribute Multiple Selector [attributeFilter1][attributeFilter2][attributeFilterN]
Matches elements that match all of the specified attribute filters.
-
Attribute Not Equal Selector [attribute!="value"]
Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value.
-
Attribute Starts With Selector [attribute^="value"]
Selects elements that have the specified attribute with a value beginning exactly with a given string.