Easy Tutorial
❮ Css Initial Pr Mix Blend Mode Html ❯

CSS [attribute=value] Selector

Complete CSS Selector Reference

Example

Select all a elements with target="_blank"


The [attribute=value] selector is used to select elements with a specified attribute and value.


Browser Support

All major browsers support the [attribute=value] selector.

Note: The [attribute=value] selector works in IE8, but requires the <!DOCTYPE> to be declared.


Related Articles

CSS Tutorial: CSS Attribute Selectors


❮ Css Initial Pr Mix Blend Mode Html ❯