- Description
E[attr="something"] matches any element E with attribute attr equal to something. Common attributes include: title, alt, action, type, width.
- Example
H1[title="something"] {color:red;} /* h1 with a title that equals something*/
- Introduced in CSS version
- 2.1
- Inherited
- N/A
- Browser Support
Browsers IE 
Firefox 
Safari 
Opera 
Chrome 
Versions 7 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties