Export (0) Print
Expand All

Attribute Selectors

This section contains reference topics for all supported Cascading Style Sheets (CSS) attribute selectors.

In this section

TopicDescription

Equality [=] Attribute Selector

Exactly matches the specified attribute value.

Existence [] Attribute Selector

Matches the attribute, whatever its value.

Hyphen [|=] Attribute Selector

Matches any attribute value that is exactly equal, or optionally, followed by a hyphen.

Prefix [^=] Attribute Selector

Matches the specified prefix of an attribute value.

Substring [*=] Attribute Selector

Matches the specified substring of an attribute value.

Suffix [$=] Attribute Selector

Matches the specified suffix of an attribute value.

Whitespace [~=] Attribute Selector

Exactly matches the specified attribute value in a space-delimited list of values.

 

 

 

Show:
© 2014 Microsoft