O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Exact Attribute Value Selector

Pattern:

element1[attr="value"]

Description:

This allows authors to select any element based on the precise and complete value of an attribute.

Examples:

a[rel="Start"] {font-weight: bold;}
p[class="urgent"] {color: red;}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required