Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft