CSS [AttributeName=AttributeValue] Selector
What is a CSS [AttributeName=AttributeValue] Selector?
- This selector specifies an element that has the specified attribute set to a specific value. In the following example, the color property will be set to red for any <p> element whose title attribute is set to "sample 1". The style is NOT applied to the second <p> element.