2.1.16 [CSS-Level2-2009] Section 5.8.1, Matching attributes and attribute values

V0011:

The specification states:

 Attribute selectors may match in four ways:
  
 [att] 
 Match when the element sets the "att" attribute, whatever the value of the 
 attribute.
  
 [att=val] 
 Match when the element's "att" attribute value is exactly "val".
  
 [att~=val] 
 Represents an element with the att attribute whose value is a white space-separated 
 list of words, one of which is exactly "val". If "val" contains white space, it 
 will never represent anything (since the words are separated by spaces). If "val" 
 is the empty string, it will never represent anything either. 
  
 [att|=val] 
 Represents an element with the att attribute, its value either being exactly "val" 
 or beginning with "val" immediately followed by "-" (U+002D). This is primarily 
 intended to allow language subcode matches (e.g., the hreflang attribute on the a 
 element in HTML) as described in BCP47 ([BCP47]) or its successor. For lang 
 (or xml:lang) language subcode matching, please see the :lang pseudo-class.

Quirks Mode (All Versions)

Attribute selectors are not supported.

V0012:

The specification states:

 Attribute values must be identifiers or strings. The case-sensitivity of attribute 
 names and values in selectors depends on the document language.

Quirks Mode (All Versions)

Attribute selectors are not supported.

V0013:

The specification states:

 Multiple attribute selectors can be used to refer to several attributes of an 
 element, or even several times to the same attribute.

Quirks Mode (All Versions)

Attribute selectors are not supported.

Show: